Search for getContext

  1. Search 7.x for getContext
  2. Search 9.5.x for getContext
  3. Search 8.9.x for getContext
  4. Search 11.x for getContext
  5. Other projects
Title Object type File name Summary
AccessAwareRouter::getContext function core/lib/Drupal/Core/Routing/AccessAwareRouter.php
AccountPermissionsCacheContext::getContext function core/lib/Drupal/Core/Cache/Context/AccountPermissionsCacheContext.php Returns the string representation of the cache context.
BazCacheContext::getContext function core/tests/Drupal/Tests/Core/Cache/Context/CacheContextsManagerTest.php Returns the string representation of the cache context.
CacheContextInterface::getContext function core/lib/Drupal/Core/Cache/Context/CacheContextInterface.php Returns the string representation of the cache context.
CacheContextsManagerTest::getContextsFixture function core/tests/Drupal/Tests/Core/Cache/Context/CacheContextsManagerTest.php
CalculatedCacheContextInterface::getContext function core/lib/Drupal/Core/Cache/Context/CalculatedCacheContextInterface.php Returns the string representation of the cache context.
Context::getContextData function core/lib/Drupal/Core/Plugin/Context/Context.php Gets the context value as typed data object.
Context::getContextDefinition function core/lib/Drupal/Core/Plugin/Context/Context.php Gets the provided definition that the context must conform to.
Context::getContextDefinition function core/lib/Drupal/Component/Plugin/Context/Context.php Gets the provided definition that the context must conform to.
Context::getContextValue function core/lib/Drupal/Component/Plugin/Context/Context.php Gets the context value.
Context::getContextValue function core/lib/Drupal/Core/Plugin/Context/Context.php Gets the context value.
ContextAwarePluginDefinitionInterface::getContextDefinition function core/lib/Drupal/Component/Plugin/Definition/ContextAwarePluginDefinitionInterface.php Returns a particular context definition for this plugin.
ContextAwarePluginDefinitionInterface::getContextDefinitions function core/lib/Drupal/Component/Plugin/Definition/ContextAwarePluginDefinitionInterface.php Returns all context definitions for this plugin.
ContextAwarePluginDefinitionTrait::getContextDefinition function core/lib/Drupal/Component/Plugin/Definition/ContextAwarePluginDefinitionTrait.php Implements \Drupal\Component\Plugin\Definition\ContextAwarePluginDefinitionInterface::getContextDefinition().
ContextAwarePluginDefinitionTrait::getContextDefinitions function core/lib/Drupal/Component/Plugin/Definition/ContextAwarePluginDefinitionTrait.php Implements \Drupal\Component\Plugin\Definition\ContextAwarePluginDefinitionInterface::getContextDefinitions().
ContextAwarePluginInterface::getContext function core/lib/Drupal/Component/Plugin/ContextAwarePluginInterface.php Gets a defined context.
ContextAwarePluginInterface::getContextDefinition function core/lib/Drupal/Core/Plugin/ContextAwarePluginInterface.php Gets a specific context definition of the plugin.
ContextAwarePluginInterface::getContextDefinition function core/lib/Drupal/Component/Plugin/ContextAwarePluginInterface.php Gets a specific context definition of the plugin.
ContextAwarePluginInterface::getContextDefinitions function core/lib/Drupal/Component/Plugin/ContextAwarePluginInterface.php Gets the context definitions of the plugin.
ContextAwarePluginInterface::getContextDefinitions function core/lib/Drupal/Core/Plugin/ContextAwarePluginInterface.php Gets the context definitions of the plugin.
ContextAwarePluginInterface::getContextMapping function core/lib/Drupal/Component/Plugin/ContextAwarePluginInterface.php Gets a mapping of the expected assignment names to their context names.
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.
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
ContextAwareVariantInterface::getContexts function core/lib/Drupal/Core/Display/ContextAwareVariantInterface.php Gets the values for all defined contexts.
ContextHandler::getContextDefinitions function core/lib/Drupal/Core/Plugin/Context/ContextHandler.php Returns the context definitions associated with a plugin definition.
ContextInterface::getContextData function core/lib/Drupal/Core/Plugin/Context/ContextInterface.php Gets the context value as typed data object.
ContextInterface::getContextDefinition function core/lib/Drupal/Core/Plugin/Context/ContextInterface.php
ContextInterface::getContextDefinition function core/lib/Drupal/Component/Plugin/Context/ContextInterface.php Gets the provided definition that the context must conform to.
ContextInterface::getContextValue function core/lib/Drupal/Component/Plugin/Context/ContextInterface.php Gets the context value.
ContextTest::providerGetContextValue function core/tests/Drupal/Tests/Component/Plugin/Context/ContextTest.php Data provider for testGetContextValue.
ContextTest::testGetContextValue function core/tests/Drupal/Tests/Component/Plugin/Context/ContextTest.php @covers ::getContextValue[[api-linebreak]]
@dataProvider providerGetContextValue
ContextualLinkManager::getContextualLinkPluginsByGroup function core/lib/Drupal/Core/Menu/ContextualLinkManager.php Gets the contextual link plugins by contextual link group.
ContextualLinkManager::getContextualLinksArrayByGroup function core/lib/Drupal/Core/Menu/ContextualLinkManager.php Gets the contextual links prepared as expected by links.html.twig.
ContextualLinkManagerInterface::getContextualLinkPluginsByGroup function core/lib/Drupal/Core/Menu/ContextualLinkManagerInterface.php Gets the contextual link plugins by contextual link group.
ContextualLinkManagerInterface::getContextualLinksArrayByGroup function core/lib/Drupal/Core/Menu/ContextualLinkManagerInterface.php Gets the contextual links prepared as expected by links.html.twig.
ContextualLinkManagerTest::testGetContextualLinkPluginsByGroup function core/tests/Drupal/Tests/Core/Menu/ContextualLinkManagerTest.php Tests the getContextualLinkPluginsByGroup method.
ContextualLinkManagerTest::testGetContextualLinkPluginsByGroupWithCache function core/tests/Drupal/Tests/Core/Menu/ContextualLinkManagerTest.php Tests the getContextualLinkPluginsByGroup method with a prefilled cache.
ContextualLinkManagerTest::testGetContextualLinksArrayByGroup function core/tests/Drupal/Tests/Core/Menu/ContextualLinkManagerTest.php Tests the getContextualLinksArrayByGroup method.
ContextualLinkManagerTest::testGetContextualLinksArrayByGroupAccessCheck function core/tests/Drupal/Tests/Core/Menu/ContextualLinkManagerTest.php Tests the access checking of the getContextualLinksArrayByGroup method.
CookieCacheContextTest::providerTestGetContext function core/tests/Drupal/Tests/Core/Cache/Context/CookieCacheContextTest.php Provides a list of cookies and expected cache contexts.
CookieCacheContextTest::testGetContext function core/tests/Drupal/Tests/Core/Cache/Context/CookieCacheContextTest.php @covers ::getContext[[api-linebreak]]
CookiesCacheContext::getContext function core/lib/Drupal/Core/Cache/Context/CookiesCacheContext.php Returns the string representation of the cache context.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.