class AlterDecorator

Enables altering of discovered plugin definitions.

Hierarchy

Expanded class hierarchy of AlterDecorator

18 files declare their use of AlterDecorator
1 string reference to 'AlterDecorator'

File

drupal/core/lib/Drupal/Core/Plugin/Discovery/AlterDecorator.php, line 15
Definition of Drupal\Core\Plugin\Discovery\AlterDiscoveryDecorator.

Namespace

Drupal\Core\Plugin\Discovery
View source

Members

Namesort descending Modifiers Type Description Overrides
AlterDecorator::$decorated protected property The Discovery object being decorated.
AlterDecorator::$hook protected property The name of the alter hook that will be implemented by this discovery instance.
AlterDecorator::getDefinition public function Implements Drupal\Component\Plugin\Discovery\DiscoveryInterface::getDefinition(). Overrides DiscoveryInterface::getDefinition
AlterDecorator::getDefinitions public function Implements Drupal\Component\Plugin\Discovery\DiscoveryInterface::getDefinitions(). Overrides DiscoveryInterface::getDefinitions
AlterDecorator::__call public function Passes through all unknown calls onto the decorated object.
AlterDecorator::__construct public function Constructs a Drupal\Core\Plugin\Discovery\AlterDecorator object.