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 |
|
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 |
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 |
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 install. |
ContextPluginTest::testContext |
function |
core/tests/Drupal/KernelTests/Core/Plugin/ContextPluginTest.php |
Tests basic context definition and value getters and setters. |