StaticDiscoveryDecorator::$registerDefinitions

Same name in other branches
  1. 9 core/lib/Drupal/Component/Plugin/Discovery/StaticDiscoveryDecorator.php \Drupal\Component\Plugin\Discovery\StaticDiscoveryDecorator::registerDefinitions
  2. 8.9.x core/lib/Drupal/Component/Plugin/Discovery/StaticDiscoveryDecorator.php \Drupal\Component\Plugin\Discovery\StaticDiscoveryDecorator::registerDefinitions
  3. 10 core/lib/Drupal/Component/Plugin/Discovery/StaticDiscoveryDecorator.php \Drupal\Component\Plugin\Discovery\StaticDiscoveryDecorator::registerDefinitions

A callback or closure used for registering additional definitions.

Type: callable

File

core/lib/Drupal/Component/Plugin/Discovery/StaticDiscoveryDecorator.php, line 22

Class

StaticDiscoveryDecorator
A decorator that allows manual registration of undiscoverable definitions.

Namespace

Drupal\Component\Plugin\Discovery

Code

protected $registerDefinitions;

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.