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 |
|
ContextAwarePluginTrait::getContextMapping |
function |
core/lib/Drupal/Core/Plugin/ContextAwarePluginTrait.php |
|
ContextAwarePluginTrait::getContexts |
function |
core/lib/Drupal/Core/Plugin/ContextAwarePluginTrait.php |
|
ContextAwarePluginTrait::getContextValue |
function |
core/lib/Drupal/Core/Plugin/ContextAwarePluginTrait.php |
|
ContextAwarePluginTrait::getContextValues |
function |
core/lib/Drupal/Core/Plugin/ContextAwarePluginTrait.php |
|
ContextAwarePluginTrait::getPluginDefinition |
function |
core/lib/Drupal/Core/Plugin/ContextAwarePluginTrait.php |
|
ContextAwarePluginTrait::setContext |
function |
core/lib/Drupal/Core/Plugin/ContextAwarePluginTrait.php |
|
ContextAwarePluginTrait::setContextMapping |
function |
core/lib/Drupal/Core/Plugin/ContextAwarePluginTrait.php |
|
ContextAwarePluginTrait::setContextValue |
function |
core/lib/Drupal/Core/Plugin/ContextAwarePluginTrait.php |
|
ContextAwarePluginTrait::validateContexts |
function |
core/lib/Drupal/Core/Plugin/ContextAwarePluginTrait.php |
|
ContextAwarePluginTraitTest |
class |
core/tests/Drupal/KernelTests/Core/Plugin/Context/ContextAwarePluginTraitTest.php |
@coversDefaultClass \Drupal\Core\Plugin\ContextAwarePluginTrait |
ContextAwarePluginTraitTest.php |
file |
core/tests/Drupal/KernelTests/Core/Plugin/Context/ContextAwarePluginTraitTest.php |
|
ContextAwarePluginTraitTest::$configurablePlugin |
property |
core/tests/Drupal/KernelTests/Core/Plugin/Context/ContextAwarePluginTraitTest.php |
The configurable plugin instance under test. |
ContextAwarePluginTraitTest::$plugin |
property |
core/tests/Drupal/KernelTests/Core/Plugin/Context/ContextAwarePluginTraitTest.php |
The plugin instance under test. |
ContextAwarePluginTraitTest::setUp |
function |
core/tests/Drupal/KernelTests/Core/Plugin/Context/ContextAwarePluginTraitTest.php |
|
ContextAwarePluginTraitTest::testGetContextDefinition |
function |
core/tests/Drupal/KernelTests/Core/Plugin/Context/ContextAwarePluginTraitTest.php |
@covers ::getContextDefinition |
ContextAwarePluginTraitTest::testGetContextDefinitions |
function |
core/tests/Drupal/KernelTests/Core/Plugin/Context/ContextAwarePluginTraitTest.php |
@covers ::getContextDefinitions |
ContextAwarePluginTraitTest::testGetContextValue |
function |
core/tests/Drupal/KernelTests/Core/Plugin/Context/ContextAwarePluginTraitTest.php |
@covers ::getContextValue |
ContextAwarePluginTraitTest::testSetContextValue |
function |
core/tests/Drupal/KernelTests/Core/Plugin/Context/ContextAwarePluginTraitTest.php |
@covers ::setContextValue |
ContextAwareVariantInterface |
interface |
core/lib/Drupal/Core/Display/ContextAwareVariantInterface.php |
Provides an interface for variant plugins that are context-aware. |
ContextAwareVariantInterface.php |
file |
core/lib/Drupal/Core/Display/ContextAwareVariantInterface.php |
|
ContextAwareVariantInterface::getContexts |
function |
core/lib/Drupal/Core/Display/ContextAwareVariantInterface.php |
Gets the values for all defined contexts. |
ContextAwareVariantInterface::setContexts |
function |
core/lib/Drupal/Core/Display/ContextAwareVariantInterface.php |
Sets the context values for this display variant. |
ContextCacheKeys |
class |
core/lib/Drupal/Core/Cache/Context/ContextCacheKeys.php |
A value object to store generated cache keys with its cacheability metadata. |
ContextCacheKeys.php |
file |
core/lib/Drupal/Core/Cache/Context/ContextCacheKeys.php |
|
ContextCacheKeys::$keys |
property |
core/lib/Drupal/Core/Cache/Context/ContextCacheKeys.php |
The generated cache keys. |
ContextCacheKeys::getKeys |
function |
core/lib/Drupal/Core/Cache/Context/ContextCacheKeys.php |
Gets the generated cache keys. |
ContextCacheKeys::__construct |
function |
core/lib/Drupal/Core/Cache/Context/ContextCacheKeys.php |
Constructs a ContextCacheKeys object. |