Context |
class |
core/lib/Drupal/Core/Plugin/Context/Context.php |
A Drupal specific context wrapper class. |
Context |
class |
core/lib/Drupal/Component/Plugin/Context/Context.php |
A generic context class for wrapping data a plugin needs to operate. |
Context.php |
file |
core/lib/Drupal/Core/Plugin/Context/Context.php |
|
Context.php |
file |
core/lib/Drupal/Component/Plugin/Context/Context.php |
|
ContextTest |
class |
core/tests/Drupal/Tests/Core/Plugin/Context/ContextTest.php |
@coversDefaultClass \Drupal\Core\Plugin\Context\Context
@group Plugin |
ContextTest |
class |
core/tests/Drupal/Tests/Component/Plugin/Context/ContextTest.php |
@coversDefaultClass \Drupal\Component\Plugin\Context\Context
@group Plugin |
AdminContext |
class |
core/lib/Drupal/Core/Routing/AdminContext.php |
Provides a helper class to determine whether the route is an admin one. |
EntityContext |
class |
core/lib/Drupal/Core/Plugin/Context/EntityContext.php |
Class to provide a specific entity context. |
RenderContext |
class |
core/lib/Drupal/Core/Render/RenderContext.php |
The render context: a stack containing bubbleable rendering metadata. |
IpCacheContext |
class |
core/lib/Drupal/Core/Cache/Context/IpCacheContext.php |
Defines the IpCacheContext service, for "per IP address" caching. |
ContextHandler |
class |
core/lib/Drupal/Core/Plugin/Context/ContextHandler.php |
Provides methods to handle sets of contexts. |
contextual_help |
function |
core/modules/contextual/contextual.module |
Implements hook_help(). |
ContextualLinks |
class |
core/modules/contextual/src/Element/ContextualLinks.php |
|
ContextTest.php |
file |
core/tests/Drupal/Tests/Core/Plugin/Context/ContextTest.php |
|
context.handler |
service |
core/core.services.yml |
Drupal\Core\Plugin\Context\ContextHandler |
FooCacheContext |
class |
core/tests/Drupal/Tests/Core/Cache/Context/CacheContextsManagerTest.php |
Fake cache context class. |
BazCacheContext |
class |
core/tests/Drupal/Tests/Core/Cache/Context/CacheContextsManagerTest.php |
Fake calculated cache context class. |
UrlCacheContext |
class |
core/lib/Drupal/Core/Cache/Context/UrlCacheContext.php |
Defines the UrlCacheContext service, for "per page" caching. |
ContextualLinks |
class |
core/modules/contextual/src/Plugin/views/field/ContextualLinks.php |
|
ContextTest.php |
file |
core/tests/Drupal/Tests/Component/Plugin/Context/ContextTest.php |
|
TermContextTest |
class |
core/modules/taxonomy/tests/src/Kernel/ContextProvider/TermContextTest.php |
@coversDefaultClass \Drupal\taxonomy\ContextProvider\TermRouteContext |
cache_context.ip |
service |
core/core.services.yml |
Drupal\Core\Cache\Context\IpCacheContext |
NodeRouteContext |
class |
core/modules/node/src/ContextProvider/NodeRouteContext.php |
Sets the current node as a context on node routes. |
TermRouteContext |
class |
core/modules/taxonomy/src/ContextProvider/TermRouteContext.php |
Sets the current taxonomy term as a context on taxonomy term routes. |
Block::$contexts |
property |
core/modules/block/src/Entity/Block.php |
The available contexts for this block and its visibility conditions. |
ContextCacheKeys |
class |
core/lib/Drupal/Core/Cache/Context/ContextCacheKeys.php |
A value object to store generated cache keys with its cacheability metadata. |
PathCacheContext |
class |
core/lib/Drupal/Core/Cache/Context/PathCacheContext.php |
Defines the PathCacheContext service, for "per URL path" caching. |
ContextInterface |
interface |
core/lib/Drupal/Core/Plugin/Context/ContextInterface.php |
Context data and definitions for plugins supporting caching and return docs. |
AdminContext.php |
file |
core/lib/Drupal/Core/Routing/AdminContext.php |
|
SiteCacheContext |
class |
core/lib/Drupal/Core/Cache/Context/SiteCacheContext.php |
Defines the SiteCacheContext service, for "per site" caching. |
UserCacheContext |
class |
core/lib/Drupal/Core/Cache/Context/UserCacheContext.php |
Defines the UserCacheContext service, for "per user" caching. |
ExecutionContext |
class |
core/lib/Drupal/Core/TypedData/Validation/ExecutionContext.php |
Defines an execution context class. |
ContextInterface |
interface |
core/lib/Drupal/Component/Plugin/Context/ContextInterface.php |
Provides data and definitions for plugins during runtime and administration. |
PoItem::$context |
property |
core/lib/Drupal/Component/Gettext/PoItem.php |
The context this translation belongs to. |
ContextException |
class |
core/lib/Drupal/Component/Plugin/Exception/ContextException.php |
An exception class to be thrown for context plugin exceptions. |
cache_context.url |
service |
core/core.services.yml |
Drupal\Core\Cache\Context\UrlCacheContext |
CacheContextsPass |
class |
core/lib/Drupal/Core/Cache/Context/CacheContextsPass.php |
Adds cache_contexts parameter to the container. |
Context::validate |
function |
core/lib/Drupal/Core/Plugin/Context/Context.php |
Validates the set context value. |
EntityContext.php |
file |
core/lib/Drupal/Core/Plugin/Context/EntityContext.php |
|
ContextDefinition |
class |
core/lib/Drupal/Core/Plugin/Context/ContextDefinition.php |
Defines a class for context definitions. |
RouteCacheContext |
class |
core/lib/Drupal/Core/Cache/Context/RouteCacheContext.php |
Defines the RouteCacheContext service, for "per route" caching. |
RenderContext.php |
file |
core/lib/Drupal/Core/Render/RenderContext.php |
|
ThemeCacheContext |
class |
core/lib/Drupal/Core/Cache/Context/ThemeCacheContext.php |
Defines the ThemeCacheContext service, for "per theme" caching. |
Context::validate |
function |
core/lib/Drupal/Component/Plugin/Context/Context.php |
Validates the set context value. |
ContextPluginTest |
class |
core/tests/Drupal/KernelTests/Core/Plugin/ContextPluginTest.php |
Tests that contexts are properly set and working within plugins. |
contextual.module |
file |
core/modules/contextual/contextual.module |
Adds contextual links to perform actions related to elements on a page. |
ContextDefinition |
class |
core/lib/Drupal/Core/Annotation/ContextDefinition.php |
Defines a context definition annotation object. |
cache_context.user |
service |
core/core.services.yml |
Drupal\Core\Cache\Context\UserCacheContext |
contextual_toolbar |
function |
core/modules/contextual/contextual.module |
Implements hook_toolbar(). |
ContextHandler.php |
file |
core/lib/Drupal/Core/Plugin/Context/ContextHandler.php |
|