class AlterDecoratorTestPluginManager

Defines a plugin manager used by AlterDecorator unit tests.

Hierarchy

Expanded class hierarchy of AlterDecoratorTestPluginManager

1 file declares its use of AlterDecoratorTestPluginManager
AlterDecoratorTest.php in drupal/core/modules/system/lib/Drupal/system/Tests/Plugin/AlterDecoratorTest.php
Definition of Drupal\system\Tests\Plugin\AlterDecoratorTest.

File

drupal/core/modules/system/tests/modules/plugin_test/lib/Drupal/plugin_test/Plugin/AlterDecoratorTestPluginManager.php, line 15
Definition of Drupal\plugin_test\Plugin\plugin_test\AlterDecoratorTestPluginManager.

Namespace

Drupal\plugin_test\Plugin
View source
class AlterDecoratorTestPluginManager extends TestPluginManager {
  public function __construct() {
    parent::__construct();
    $this->discovery = new AlterDecorator($this->discovery, 'plugin_test');
  }

}

Members

Namesort descending Modifiers Type Description Overrides
AlterDecoratorTestPluginManager::__construct public function Overrides TestPluginManager::__construct
PluginManagerBase::$defaults protected property A set of defaults to be referenced by $this->processDefinition() if additional processing of plugins is necessary or helpful for development purposes. 4
PluginManagerBase::$discovery protected property The object that discovers plugins managed by this manager.
PluginManagerBase::$factory protected property The object that instantiates plugins managed by this manager.
PluginManagerBase::$mapper protected property The object that returns the preconfigured plugin instance appropriate for a particular runtime condition.
PluginManagerBase::clearCachedDefinitions public function Implements \Drupal\Component\Plugin\Discovery\CachedDiscoveryInterface::clearCachedDefinitions(). Overrides CachedDiscoveryInterface::clearCachedDefinitions
PluginManagerBase::createInstance public function Implements Drupal\Component\Plugin\PluginManagerInterface::createInstance(). Overrides FactoryInterface::createInstance 1
PluginManagerBase::getDefinition public function Implements Drupal\Component\Plugin\PluginManagerInterface::getDefinition(). Overrides DiscoveryInterface::getDefinition 1
PluginManagerBase::getDefinitions public function Implements Drupal\Component\Plugin\PluginManagerInterface::getDefinitions(). Overrides DiscoveryInterface::getDefinitions 1
PluginManagerBase::getInstance public function Implements Drupal\Component\Plugin\PluginManagerInterface::getInstance(). Overrides MapperInterface::getInstance 3
PluginManagerBase::processDefinition public function Performs extra processing on plugin definitions. 2