Search for all
| Title | Object type | File name | Summary |
|---|---|---|---|
| Context | class | core/ |
A generic context class for wrapping data a plugin needs to operate. |
| Context | class | core/ |
A Drupal specific context wrapper class. |
| context.handler | service | core/ |
Drupal\Core\Plugin\Context\ContextHandler |
| Context.php | file | core/ |
|
| Context.php | file | core/ |
|
| context.repository | service | core/ |
Drupal\Core\Plugin\Context\LazyContextRepository |
| Context::$cacheabilityMetadata | property | core/ |
The cacheability metadata. |
| Context::$contextData | property | core/ |
The data associated with the context. |
| Context::$contextDefinition | property | core/ |
The definition to which a context must conform. |
| Context::$contextDefinition | property | core/ |
The definition to which a context must conform. |
| Context::$contextValue | property | core/ |
The value of the context. |
| Context::addCacheableDependency | function | core/ |
Adds a dependency on an object: merges its cacheability metadata. |
| Context::createFromContext | function | core/ |
Creates a new context with a different value. |
| Context::getCacheContexts | function | core/ |
The cache contexts associated with this object. |
| Context::getCacheMaxAge | function | core/ |
The maximum age for which this object may be cached. |
| Context::getCacheTags | function | core/ |
The cache tags associated with this object. |
| Context::getConstraints | function | core/ |
Gets a list of validation constraints. |
| Context::getConstraints | function | core/ |
Gets a list of validation constraints. |
| Context::getContextData | function | core/ |
Gets the context value as typed data object. |
| Context::getContextDefinition | function | core/ |
Gets the provided definition that the context must conform to. |
| Context::getContextDefinition | function | core/ |
Gets the provided definition that the context must conform to. |
| Context::getContextValue | function | core/ |
Gets the context value. |
| Context::getContextValue | function | core/ |
Gets the context value. |
| Context::hasContextValue | function | core/ |
Returns whether the context has a value. |
| Context::hasContextValue | function | core/ |
Returns whether the context has a value. |
| Context::setContextValue | function | core/ |
Sets the context value. |
| Context::validate | function | core/ |
Validates the set context value. |
| Context::validate | function | core/ |
Validates the set context value. |
| Context::__construct | function | core/ |
Create a context object. |
| Context::__construct | function | core/ |
Create a context object. |
| ContextAwarePluginAssignmentTrait | trait | core/ |
Handles context assignments for context-aware plugins. |
| ContextAwarePluginAssignmentTrait.php | file | core/ |
|
| ContextAwarePluginAssignmentTrait::addContextAssignmentElement | function | core/ |
Builds a form element for assigning a context to a given slot. |
| ContextAwarePluginAssignmentTrait::contextHandler | function | core/ |
Wraps the context handler. |
| ContextAwarePluginAssignmentTrait::t | function | core/ |
Ensures the t() method is available. |
| ContextAwarePluginBase | class | core/ |
Base class for plugins that are context aware. |
| ContextAwarePluginBase | class | core/ |
Base class for plugins that are context aware. |
| ContextAwarePluginBase.php | file | core/ |
|
| ContextAwarePluginBase.php | file | core/ |
|
| ContextAwarePluginBase::$context | property | core/ |
The data objects representing the context of this plugin. |
| ContextAwarePluginBase::createContextFromConfiguration | function | core/ |
Creates context objects from any context mappings in configuration. |
| ContextAwarePluginBase::createContextFromConfiguration | function | core/ |
|
| ContextAwarePluginBase::getContext | function | core/ |
Gets a defined context. |
| ContextAwarePluginBase::getContextDefinition | function | core/ |
Gets a specific context definition of the plugin. |
| ContextAwarePluginBase::getContextDefinitions | function | core/ |
Gets the context definitions of the plugin. |
| ContextAwarePluginBase::getContexts | function | core/ |
Gets the defined contexts. |
| ContextAwarePluginBase::getContextValue | function | core/ |
Gets the value for a defined context. |
| ContextAwarePluginBase::getContextValues | function | core/ |
Gets the values for all defined contexts. |
| ContextAwarePluginBase::setContext | function | core/ |
Set a context on this plugin. |
| ContextAwarePluginBase::setContextValue | function | core/ |
Sets the value for a defined context. |
Pagination
- Previous page
- Page 311
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.