You are here

abstract class TestFallbackPluginManager in Service Container 7

Same name and namespace in other branches
  1. 7.2 tests/src/Plugin/DefaultPluginManagerTest.php \Drupal\Tests\service_container\Plugin\TestFallbackPluginManager

Helper class for mockery to derive its mock from with the right interface.

Hierarchy

Expanded class hierarchy of TestFallbackPluginManager

File

tests/src/Plugin/DefaultPluginManagerTest.php, line 156
Contains \Drupal\Tests\service_container\Plugin\DefaultPluginManagerTest

Namespace

Drupal\Tests\service_container\Plugin
View source
abstract class TestFallbackPluginManager extends DefaultPluginManager implements FallbackPluginManagerInterface {

}

Members

Namesort descending Modifiers Type Description Overrides
DefaultPluginManager::__construct public function Constructs a DefaultPluginManager object. 1
FallbackPluginManagerInterface::getFallbackPluginId public function Gets a fallback id for a missing plugin.
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::createInstance public function Creates a pre-configured instance of a plugin. Overrides FactoryInterface::createInstance
PluginManagerBase::getDefinition public function Gets a specific plugin definition. Overrides DiscoveryInterface::getDefinition
PluginManagerBase::getDefinitions public function Gets the definition of all plugins for this type. Overrides DiscoveryInterface::getDefinitions
PluginManagerBase::getInstance public function Gets a preconfigured instance of a plugin. Overrides MapperInterface::getInstance
PluginManagerBase::hasDefinition public function Indicates if a specific plugin definition exists. Overrides DiscoveryInterface::hasDefinition