| DefaultPluginManager.php |
file |
core/lib/Drupal/Core/Plugin/DefaultPluginManager.php |
|
| DefaultPluginManager::$additionalAnnotationNamespaces |
property |
core/lib/Drupal/Core/Plugin/DefaultPluginManager.php |
Additional annotation namespaces. |
| DefaultPluginManager::$alterHook |
property |
core/lib/Drupal/Core/Plugin/DefaultPluginManager.php |
Name of the alter hook if one should be invoked. |
| DefaultPluginManager::$cacheKey |
property |
core/lib/Drupal/Core/Plugin/DefaultPluginManager.php |
The cache key. |
| DefaultPluginManager::$cacheTags |
property |
core/lib/Drupal/Core/Plugin/DefaultPluginManager.php |
An array of cache tags to use for the cached definitions. |
| DefaultPluginManager::$defaults |
property |
core/lib/Drupal/Core/Plugin/DefaultPluginManager.php |
A set of defaults to be referenced by $this->processDefinition(). |
| DefaultPluginManager::$moduleExtensionList |
property |
core/lib/Drupal/Core/Plugin/DefaultPluginManager.php |
The module extension list. |
| DefaultPluginManager::$moduleHandler |
property |
core/lib/Drupal/Core/Plugin/DefaultPluginManager.php |
The module handler to invoke the alter hook. |
| DefaultPluginManager::$namespaces |
property |
core/lib/Drupal/Core/Plugin/DefaultPluginManager.php |
An object of root paths that are traversable. |
| DefaultPluginManager::$pluginDefinitionAnnotationName |
property |
core/lib/Drupal/Core/Plugin/DefaultPluginManager.php |
The name of the annotation that contains the plugin definition. |
| DefaultPluginManager::$pluginDefinitionAttributeName |
property |
core/lib/Drupal/Core/Plugin/DefaultPluginManager.php |
The name of the attribute that contains the plugin definition. |
| DefaultPluginManager::$pluginInterface |
property |
core/lib/Drupal/Core/Plugin/DefaultPluginManager.php |
The interface each plugin should implement. |
| DefaultPluginManager::$subdir |
property |
core/lib/Drupal/Core/Plugin/DefaultPluginManager.php |
The subdirectory within a namespace to look for plugins. |
| DefaultPluginManager::alterDefinitions |
function |
core/lib/Drupal/Core/Plugin/DefaultPluginManager.php |
Invokes the hook to alter the definitions if the alter hook is set. |
| DefaultPluginManager::alterInfo |
function |
core/lib/Drupal/Core/Plugin/DefaultPluginManager.php |
Sets the alter hook name. |
| DefaultPluginManager::clearCachedDefinitions |
function |
core/lib/Drupal/Core/Plugin/DefaultPluginManager.php |
Clears static and persistent plugin definition caches. |
| DefaultPluginManager::extractProviderFromDefinition |
function |
core/lib/Drupal/Core/Plugin/DefaultPluginManager.php |
Extracts the provider from a plugin definition. |
| DefaultPluginManager::findDefinitions |
function |
core/lib/Drupal/Core/Plugin/DefaultPluginManager.php |
Finds plugin definitions. |
| DefaultPluginManager::getCacheContexts |
function |
core/lib/Drupal/Core/Plugin/DefaultPluginManager.php |
The cache contexts associated with this object. |
| DefaultPluginManager::getCachedDefinitions |
function |
core/lib/Drupal/Core/Plugin/DefaultPluginManager.php |
Returns the cached plugin definitions of the decorated discovery class. |
| DefaultPluginManager::getCacheMaxAge |
function |
core/lib/Drupal/Core/Plugin/DefaultPluginManager.php |
The maximum age for which this object may be cached. |
| DefaultPluginManager::getCacheTags |
function |
core/lib/Drupal/Core/Plugin/DefaultPluginManager.php |
The cache tags associated with this object. |
| DefaultPluginManager::getDefinitions |
function |
core/lib/Drupal/Core/Plugin/DefaultPluginManager.php |
Gets the definition of all plugins for this type. |
| DefaultPluginManager::getDiscovery |
function |
core/lib/Drupal/Core/Plugin/DefaultPluginManager.php |
Gets the plugin discovery. |
| DefaultPluginManager::getFactory |
function |
core/lib/Drupal/Core/Plugin/DefaultPluginManager.php |
Gets the plugin factory. |
| DefaultPluginManager::processDefinition |
function |
core/lib/Drupal/Core/Plugin/DefaultPluginManager.php |
Performs extra processing on plugin definitions. |
| DefaultPluginManager::providerExists |
function |
core/lib/Drupal/Core/Plugin/DefaultPluginManager.php |
Determines if the provider of a definition exists. |
| DefaultPluginManager::setCacheBackend |
function |
core/lib/Drupal/Core/Plugin/DefaultPluginManager.php |
Initialize the cache backend. |
| DefaultPluginManager::setCachedDefinitions |
function |
core/lib/Drupal/Core/Plugin/DefaultPluginManager.php |
Sets a cache of plugin definitions for the decorated discovery class. |
| DefaultPluginManager::useCaches |
function |
core/lib/Drupal/Core/Plugin/DefaultPluginManager.php |
Disable the use of caches. |
| DefaultPluginManager::__construct |
function |
core/lib/Drupal/Core/Plugin/DefaultPluginManager.php |
Constructs a new \Drupal\Core\Plugin\DefaultPluginManager object. |
| DefaultPluginManagerTest |
class |
core/tests/Drupal/Tests/Core/Plugin/DefaultPluginManagerTest.php |
Tests the DefaultPluginManager. |
| DefaultPluginManagerTest |
class |
core/tests/Drupal/KernelTests/Core/Plugin/DefaultPluginManagerTest.php |
Tests the default plugin manager. |
| DefaultPluginManagerTest.php |
file |
core/tests/Drupal/KernelTests/Core/Plugin/DefaultPluginManagerTest.php |
|
| DefaultPluginManagerTest.php |
file |
core/tests/Drupal/Tests/Core/Plugin/DefaultPluginManagerTest.php |
|
| DefaultPluginManagerTest::$expectedDefinitions |
property |
core/tests/Drupal/Tests/Core/Plugin/DefaultPluginManagerTest.php |
The expected plugin definitions. |
| DefaultPluginManagerTest::$modules |
property |
core/tests/Drupal/KernelTests/Core/Plugin/DefaultPluginManagerTest.php |
Modules to install. |
| DefaultPluginManagerTest::$namespaces |
property |
core/tests/Drupal/Tests/Core/Plugin/DefaultPluginManagerTest.php |
The namespaces to look for plugin definitions. |
| DefaultPluginManagerTest::providerTestProcessDefinition |
function |
core/tests/Drupal/Tests/Core/Plugin/DefaultPluginManagerTest.php |
|
| DefaultPluginManagerTest::setUp |
function |
core/tests/Drupal/Tests/Core/Plugin/DefaultPluginManagerTest.php |
|
| DefaultPluginManagerTest::testCacheClearWithTags |
function |
core/tests/Drupal/Tests/Core/Plugin/DefaultPluginManagerTest.php |
Tests the plugin manager cache clear with tags. |
| DefaultPluginManagerTest::testCreateInstanceWithInvalidInterfaces |
function |
core/tests/Drupal/Tests/Core/Plugin/DefaultPluginManagerTest.php |
Tests plugins without the proper interface. |
| DefaultPluginManagerTest::testCreateInstanceWithJustValidInterfaces |
function |
core/tests/Drupal/Tests/Core/Plugin/DefaultPluginManagerTest.php |
Tests plugins with the proper interface. |
| DefaultPluginManagerTest::testDefaultPluginManager |
function |
core/tests/Drupal/Tests/Core/Plugin/DefaultPluginManagerTest.php |
Tests the plugin manager with no cache and altering. |
| DefaultPluginManagerTest::testDefaultPluginManager |
function |
core/tests/Drupal/KernelTests/Core/Plugin/DefaultPluginManagerTest.php |
Tests annotations and attributes on the default plugin manager. |
| DefaultPluginManagerTest::testDefaultPluginManagerAnnotationsOnly |
function |
core/tests/Drupal/KernelTests/Core/Plugin/DefaultPluginManagerTest.php |
Tests the deprecation message for using only annotations. |
| DefaultPluginManagerTest::testDefaultPluginManagerNoCache |
function |
core/tests/Drupal/Tests/Core/Plugin/DefaultPluginManagerTest.php |
Tests the plugin manager with caching disabled. |
| DefaultPluginManagerTest::testDefaultPluginManagerWithAlter |
function |
core/tests/Drupal/Tests/Core/Plugin/DefaultPluginManagerTest.php |
Tests the plugin manager with no cache and altering. |
| DefaultPluginManagerTest::testDefaultPluginManagerWithDisabledModule |
function |
core/tests/Drupal/Tests/Core/Plugin/DefaultPluginManagerTest.php |
Tests the plugin manager with a disabled module. |
| DefaultPluginManagerTest::testDefaultPluginManagerWithEmptyCache |
function |
core/tests/Drupal/Tests/Core/Plugin/DefaultPluginManagerTest.php |
Tests the plugin manager with caching and altering. |