| ContextAwarePluginDefinitionInterface.php |
file |
core/lib/Drupal/Component/Plugin/Definition/ContextAwarePluginDefinitionInterface.php |
|
| ContextAwarePluginDefinitionInterface::addContextDefinition |
function |
core/lib/Drupal/Component/Plugin/Definition/ContextAwarePluginDefinitionInterface.php |
Adds a context to this plugin definition. |
| ContextAwarePluginDefinitionInterface::getContextDefinition |
function |
core/lib/Drupal/Component/Plugin/Definition/ContextAwarePluginDefinitionInterface.php |
Returns a particular context definition for this plugin. |
| ContextAwarePluginDefinitionInterface::getContextDefinitions |
function |
core/lib/Drupal/Component/Plugin/Definition/ContextAwarePluginDefinitionInterface.php |
Returns all context definitions for this plugin. |
| ContextAwarePluginDefinitionInterface::hasContextDefinition |
function |
core/lib/Drupal/Component/Plugin/Definition/ContextAwarePluginDefinitionInterface.php |
Checks if the plugin defines a particular context. |
| ContextAwarePluginDefinitionInterface::removeContextDefinition |
function |
core/lib/Drupal/Component/Plugin/Definition/ContextAwarePluginDefinitionInterface.php |
Removes a context definition from this plugin. |
| ContextAwarePluginDefinitionTrait |
trait |
core/lib/Drupal/Component/Plugin/Definition/ContextAwarePluginDefinitionTrait.php |
Provides a trait for context-aware object-based plugin definitions. |
| ContextAwarePluginDefinitionTrait.php |
file |
core/lib/Drupal/Component/Plugin/Definition/ContextAwarePluginDefinitionTrait.php |
|
| ContextAwarePluginDefinitionTrait::$contextDefinitions |
property |
core/lib/Drupal/Component/Plugin/Definition/ContextAwarePluginDefinitionTrait.php |
The context definitions for this plugin definition. |
| ContextAwarePluginDefinitionTrait::addContextDefinition |
function |
core/lib/Drupal/Component/Plugin/Definition/ContextAwarePluginDefinitionTrait.php |
Implements \Drupal\Component\Plugin\Definition\ContextAwarePluginDefinitionInterface::addContextDefinition(). |
| ContextAwarePluginDefinitionTrait::getContextDefinition |
function |
core/lib/Drupal/Component/Plugin/Definition/ContextAwarePluginDefinitionTrait.php |
Implements \Drupal\Component\Plugin\Definition\ContextAwarePluginDefinitionInterface::getContextDefinition(). |
| ContextAwarePluginDefinitionTrait::getContextDefinitions |
function |
core/lib/Drupal/Component/Plugin/Definition/ContextAwarePluginDefinitionTrait.php |
Implements \Drupal\Component\Plugin\Definition\ContextAwarePluginDefinitionInterface::getContextDefinitions(). |
| ContextAwarePluginDefinitionTrait::hasContextDefinition |
function |
core/lib/Drupal/Component/Plugin/Definition/ContextAwarePluginDefinitionTrait.php |
Implements \Drupal\Component\Plugin\Definition\ContextAwarePluginDefinitionInterface::hasContextDefinition(). |
| ContextAwarePluginDefinitionTrait::removeContextDefinition |
function |
core/lib/Drupal/Component/Plugin/Definition/ContextAwarePluginDefinitionTrait.php |
Implements \Drupal\Component\Plugin\Definition\ContextAwarePluginDefinitionInterface::removeContextDefinition(). |
| ContextAwarePluginInterface |
interface |
core/lib/Drupal/Core/Plugin/ContextAwarePluginInterface.php |
An override of ContextAwarePluginInterface for documentation purposes. |
| ContextAwarePluginInterface |
interface |
core/lib/Drupal/Component/Plugin/ContextAwarePluginInterface.php |
Interface for defining context aware plugins. |
| ContextAwarePluginInterface.php |
file |
core/lib/Drupal/Component/Plugin/ContextAwarePluginInterface.php |
|
| ContextAwarePluginInterface.php |
file |
core/lib/Drupal/Core/Plugin/ContextAwarePluginInterface.php |
|
| ContextAwarePluginInterface::getContext |
function |
core/lib/Drupal/Component/Plugin/ContextAwarePluginInterface.php |
Gets a defined context. |
| ContextAwarePluginInterface::getContextDefinition |
function |
core/lib/Drupal/Component/Plugin/ContextAwarePluginInterface.php |
Gets a specific context definition of the plugin. |
| ContextAwarePluginInterface::getContextDefinition |
function |
core/lib/Drupal/Core/Plugin/ContextAwarePluginInterface.php |
Gets a specific context definition of the plugin. |
| ContextAwarePluginInterface::getContextDefinitions |
function |
core/lib/Drupal/Core/Plugin/ContextAwarePluginInterface.php |
Gets the context definitions of the plugin. |
| ContextAwarePluginInterface::getContextDefinitions |
function |
core/lib/Drupal/Component/Plugin/ContextAwarePluginInterface.php |
Gets the context definitions of the plugin. |
| ContextAwarePluginInterface::getContextMapping |
function |
core/lib/Drupal/Component/Plugin/ContextAwarePluginInterface.php |
Gets a mapping of the expected assignment names to their context names. |
| ContextAwarePluginInterface::getContexts |
function |
core/lib/Drupal/Component/Plugin/ContextAwarePluginInterface.php |
Gets the defined contexts. |
| ContextAwarePluginInterface::getContextValue |
function |
core/lib/Drupal/Component/Plugin/ContextAwarePluginInterface.php |
Gets the value for a defined context. |
| ContextAwarePluginInterface::getContextValues |
function |
core/lib/Drupal/Component/Plugin/ContextAwarePluginInterface.php |
Gets the values for all defined contexts. |
| ContextAwarePluginInterface::setContext |
function |
core/lib/Drupal/Component/Plugin/ContextAwarePluginInterface.php |
Set a context on this plugin. |
| ContextAwarePluginInterface::setContextMapping |
function |
core/lib/Drupal/Component/Plugin/ContextAwarePluginInterface.php |
Sets a mapping of the expected assignment names to their context names. |
| ContextAwarePluginInterface::setContextValue |
function |
core/lib/Drupal/Component/Plugin/ContextAwarePluginInterface.php |
Sets the value for a defined context. |
| ContextAwarePluginInterface::validateContexts |
function |
core/lib/Drupal/Component/Plugin/ContextAwarePluginInterface.php |
Validates the set values for the defined contexts. |
| ContextAwarePluginManagerInterface |
interface |
core/lib/Drupal/Core/Plugin/Context/ContextAwarePluginManagerInterface.php |
Provides an interface for plugin managers that support context-aware plugins. |
| ContextAwarePluginManagerInterface.php |
file |
core/lib/Drupal/Core/Plugin/Context/ContextAwarePluginManagerInterface.php |
|
| ContextAwarePluginManagerInterface::getDefinitionsForContexts |
function |
core/lib/Drupal/Core/Plugin/Context/ContextAwarePluginManagerInterface.php |
Determines plugins whose constraints are satisfied by a set of contexts. |
| ContextAwarePluginManagerTrait |
trait |
core/lib/Drupal/Core/Plugin/Context/ContextAwarePluginManagerTrait.php |
Provides a trait for plugin managers that support context-aware plugins. |
| ContextAwarePluginManagerTrait.php |
file |
core/lib/Drupal/Core/Plugin/Context/ContextAwarePluginManagerTrait.php |
|
| ContextAwarePluginManagerTrait::contextHandler |
function |
core/lib/Drupal/Core/Plugin/Context/ContextAwarePluginManagerTrait.php |
Wraps the context handler. |
| ContextAwarePluginManagerTrait::getDefinitions |
function |
core/lib/Drupal/Core/Plugin/Context/ContextAwarePluginManagerTrait.php |
See \Drupal\Component\Plugin\Discovery\DiscoveryInterface::getDefinitions(). |
| ContextAwarePluginManagerTrait::getDefinitionsForContexts |
function |
core/lib/Drupal/Core/Plugin/Context/ContextAwarePluginManagerTrait.php |
See \Drupal\Core\Plugin\Context\ContextAwarePluginManagerInterface::getDefinitionsForContexts(). |
| ContextHandler::filterPluginDefinitionsByContexts |
function |
core/lib/Drupal/Core/Plugin/Context/ContextHandler.php |
Determines plugins whose constraints are satisfied by a set of contexts. |
| ContextHandlerInterface::filterPluginDefinitionsByContexts |
function |
core/lib/Drupal/Core/Plugin/Context/ContextHandlerInterface.php |
Determines plugins whose constraints are satisfied by a set of contexts. |
| ContextHandlerTest::providerTestFilterPluginDefinitionsByContexts |
function |
core/tests/Drupal/Tests/Core/Plugin/ContextHandlerTest.php |
Provides data for testFilterPluginDefinitionsByContexts(). |
| ContextHandlerTest::testFilterPluginDefinitionsByContexts |
function |
core/tests/Drupal/Tests/Core/Plugin/ContextHandlerTest.php |
@covers ::filterPluginDefinitionsByContexts[[api-linebreak]] |
| ContextPluginTest |
class |
core/tests/Drupal/KernelTests/Core/Plugin/ContextPluginTest.php |
Tests that contexts are properly set and working within plugins. |
| ContextPluginTest.php |
file |
core/tests/Drupal/KernelTests/Core/Plugin/ContextPluginTest.php |
|
| ContextPluginTest::$modules |
property |
core/tests/Drupal/KernelTests/Core/Plugin/ContextPluginTest.php |
Modules to enable. |
| ContextPluginTest::testContext |
function |
core/tests/Drupal/KernelTests/Core/Plugin/ContextPluginTest.php |
Tests basic context definition and value getters and setters. |
| ContextualLinkDefaultTest::$pluginDefinition |
property |
core/tests/Drupal/Tests/Core/Menu/ContextualLinkDefaultTest.php |
The used plugin definition. |
| ContextualLinkDefaultTest::$pluginId |
property |
core/tests/Drupal/Tests/Core/Menu/ContextualLinkDefaultTest.php |
The used plugin ID. |
| ContextualLinkManager::$pluginsByGroup |
property |
core/lib/Drupal/Core/Menu/ContextualLinkManager.php |
A static cache of all the contextual link plugins by group name. |