ContextAwarePluginDefinition |
class |
core/tests/Drupal/Tests/Core/Plugin/ContextHandlerTest.php |
|
ContextAwarePluginDefinitionInterface |
interface |
core/lib/Drupal/Component/Plugin/Definition/ContextAwarePluginDefinitionInterface.php |
Provides an interface for plugin definitions which use contexts. |
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/Core/Plugin/ContextAwarePluginInterface.php |
|
ContextAwarePluginInterface.php |
file |
core/lib/Drupal/Component/Plugin/ContextAwarePluginInterface.php |
|
ContextAwarePluginInterface::getContext |
function |
core/lib/Drupal/Component/Plugin/ContextAwarePluginInterface.php |
Gets a defined context. |
ContextAwarePluginInterface::getContextDefinition |
function |
core/lib/Drupal/Core/Plugin/ContextAwarePluginInterface.php |
Gets a specific context definition of the plugin. |
ContextAwarePluginInterface::getContextDefinition |
function |
core/lib/Drupal/Component/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(). |
ContextAwarePluginTrait |
trait |
core/lib/Drupal/Core/Plugin/ContextAwarePluginTrait.php |
Provides a trait to add context-aware functionality to plugins. |
ContextAwarePluginTrait.php |
file |
core/lib/Drupal/Core/Plugin/ContextAwarePluginTrait.php |
|
ContextAwarePluginTrait::$context |
property |
core/lib/Drupal/Core/Plugin/ContextAwarePluginTrait.php |
The data objects representing the context of this plugin. |
ContextAwarePluginTrait::getCacheContexts |
function |
core/lib/Drupal/Core/Plugin/ContextAwarePluginTrait.php |
|
ContextAwarePluginTrait::getCacheMaxAge |
function |
core/lib/Drupal/Core/Plugin/ContextAwarePluginTrait.php |
|
ContextAwarePluginTrait::getCacheTags |
function |
core/lib/Drupal/Core/Plugin/ContextAwarePluginTrait.php |
|
ContextAwarePluginTrait::getContext |
function |
core/lib/Drupal/Core/Plugin/ContextAwarePluginTrait.php |
|
ContextAwarePluginTrait::getContextDefinition |
function |
core/lib/Drupal/Core/Plugin/ContextAwarePluginTrait.php |
|
ContextAwarePluginTrait::getContextDefinitions |
function |
core/lib/Drupal/Core/Plugin/ContextAwarePluginTrait.php |
|