Search for context
- Search 7.x for context
- Search 8.9.x for context
- Search 10.3.x for context
- Search 11.x for context
- Other projects
Exact matches
Title | Object type | File name | Summary |
---|---|---|---|
Context | class | core/ |
A Drupal specific context wrapper class. |
Context | class | core/ |
A generic context class for wrapping data a plugin needs to operate. |
All search results
Title | Object type | File name | Summary |
---|---|---|---|
ContextAwarePluginInterface::setContextValue | function | core/ |
Sets the value for a defined context. |
ContextAwarePluginInterface::validateContexts | function | core/ |
Validates the set values for the defined contexts. |
ContextAwarePluginManagerInterface | interface | core/ |
Provides an interface for plugin managers that support context-aware plugins. |
ContextAwarePluginManagerInterface.php | file | core/ |
|
ContextAwarePluginManagerInterface::getDefinitionsForContexts | function | core/ |
Determines plugins whose constraints are satisfied by a set of contexts. |
ContextAwarePluginManagerTrait | trait | core/ |
Provides a trait for plugin managers that support context-aware plugins. |
ContextAwarePluginManagerTrait.php | file | core/ |
|
ContextAwarePluginManagerTrait::contextHandler | function | core/ |
Wraps the context handler. |
ContextAwarePluginManagerTrait::getDefinitions | function | core/ |
See \Drupal\Component\Plugin\Discovery\DiscoveryInterface::getDefinitions(). |
ContextAwarePluginManagerTrait::getDefinitionsForContexts | function | core/ |
See \Drupal\Core\Plugin\Context\ContextAwarePluginManagerInterface::getDefinitionsForContexts(). |
ContextAwarePluginTrait | trait | core/ |
Provides a trait to add context-aware functionality to plugins. |
ContextAwarePluginTrait.php | file | core/ |
|
ContextAwarePluginTrait::$context | property | core/ |
The data objects representing the context of this plugin. |
ContextAwarePluginTrait::$initializedContextConfig | property | core/ |
Tracks whether the context has been initialized from configuration. |
ContextAwarePluginTrait::getCacheContexts | function | core/ |
|
ContextAwarePluginTrait::getCacheMaxAge | function | core/ |
|
ContextAwarePluginTrait::getCacheTags | function | core/ |
|
ContextAwarePluginTrait::getContext | function | core/ |
|
ContextAwarePluginTrait::getContextDefinition | function | core/ |
|
ContextAwarePluginTrait::getContextDefinitions | function | core/ |
|
ContextAwarePluginTrait::getContextMapping | function | core/ |
|
ContextAwarePluginTrait::getContexts | function | core/ |
|
ContextAwarePluginTrait::getContextValue | function | core/ |
|
ContextAwarePluginTrait::getContextValues | function | core/ |
|
ContextAwarePluginTrait::getPluginDefinition | function | core/ |
|
ContextAwarePluginTrait::setContext | function | core/ |
|
ContextAwarePluginTrait::setContextMapping | function | core/ |
|
ContextAwarePluginTrait::setContextValue | function | core/ |
|
ContextAwarePluginTrait::validateContexts | function | core/ |
|
ContextAwarePluginTraitTest | class | core/ |
@coversDefaultClass \Drupal\Core\Plugin\ContextAwarePluginTrait |
ContextAwarePluginTraitTest.php | file | core/ |
|
ContextAwarePluginTraitTest::$configurablePlugin | property | core/ |
The configurable plugin instance under test. |
ContextAwarePluginTraitTest::$plugin | property | core/ |
The plugin instance under test. |
ContextAwarePluginTraitTest::setUp | function | core/ |
|
ContextAwarePluginTraitTest::testConfigurableGetContextValueFromConfiguration | function | core/ |
@covers ::getContextValue @group legacy |
ContextAwarePluginTraitTest::testGetContextDefinition | function | core/ |
@covers ::getContextDefinition |
ContextAwarePluginTraitTest::testGetContextDefinitions | function | core/ |
@covers ::getContextDefinitions |
ContextAwarePluginTraitTest::testGetContextValue | function | core/ |
@covers ::getContextValue |
ContextAwarePluginTraitTest::testGetContextValueFromConfiguration | function | core/ |
@covers ::getContextValue @group legacy |
ContextAwarePluginTraitTest::testSetContextValue | function | core/ |
@covers ::setContextValue |
ContextAwareVariantInterface | interface | core/ |
Provides an interface for variant plugins that are context-aware. |
ContextAwareVariantInterface.php | file | core/ |
|
ContextAwareVariantInterface::getContexts | function | core/ |
Gets the values for all defined contexts. |
ContextAwareVariantInterface::setContexts | function | core/ |
Sets the context values for this display variant. |
ContextCacheKeys | class | core/ |
A value object to store generated cache keys with its cacheability metadata. |
ContextCacheKeys.php | file | core/ |
|
ContextCacheKeys::$keys | property | core/ |
The generated cache keys. |
ContextCacheKeys::getKeys | function | core/ |
Gets the generated cache keys. |
ContextCacheKeys::__construct | function | core/ |
Constructs a ContextCacheKeys object. |
ContextDefinition | class | core/ |
Defines a context definition annotation object. |
Pagination
- Previous page
- Page 8
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.