StaticDiscoveryDecorator::$registerDefinitions

Same name and namespace in other branches
  1. 8.9.x core/lib/Drupal/Component/Plugin/Discovery/StaticDiscoveryDecorator.php \Drupal\Component\Plugin\Discovery\StaticDiscoveryDecorator::registerDefinitions
  2. 10 core/lib/Drupal/Component/Plugin/Discovery/StaticDiscoveryDecorator.php \Drupal\Component\Plugin\Discovery\StaticDiscoveryDecorator::registerDefinitions
  3. 11.x 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.