Search for getContext

  1. Search 7.x for getContext
  2. Search 9.5.x for getContext
  3. Search 10.3.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.
ArgumentPluginBase::getContextDefinition function core/modules/views/src/Plugin/views/argument/ArgumentPluginBase.php Returns a context definition for this argument.
ArgumentValidatorPluginBase::getContextDefinition function core/modules/views/src/Plugin/views/argument_validator/ArgumentValidatorPluginBase.php Returns a context definition for this argument.
BazCacheContext::getContext function core/tests/Drupal/Tests/Core/Cache/Context/CacheContextsManagerTest.php Returns the string representation of the cache context.
BookNavigationCacheContext::getContext function core/modules/book/src/Cache/BookNavigationCacheContext.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.
ConfigEntityMapper::getContextualLinkGroup function core/modules/config_translation/src/ConfigEntityMapper.php Returns the name of the contextual link group to add contextual links to.
ConfigMapperInterface::getContextualLinkGroup function core/modules/config_translation/src/ConfigMapperInterface.php Returns the name of the contextual link group to add contextual links to.
ConfigNamesMapper::getContextualLinkGroup function core/modules/config_translation/src/ConfigNamesMapper.php Returns the name of the contextual link group to add contextual links to.
ConfigOverrideIntegrationTestCacheContext::getContext function core/modules/config/tests/config_override_integration_test/src/Cache/ConfigOverrideIntegrationTestCacheContext.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.
ContextAwarePluginBase::getContext function core/lib/Drupal/Component/Plugin/ContextAwarePluginBase.php Gets a defined context.
ContextAwarePluginBase::getContext function core/lib/Drupal/Core/Plugin/ContextAwarePluginBase.php This code is identical to the Component in order to pick up a different
Context class.
ContextAwarePluginBase::getContextDefinition function core/lib/Drupal/Core/Plugin/ContextAwarePluginBase.php
ContextAwarePluginBase::getContextDefinition function core/lib/Drupal/Component/Plugin/ContextAwarePluginBase.php Gets a specific context definition of the plugin.
ContextAwarePluginBase::getContextDefinitions function core/lib/Drupal/Core/Plugin/ContextAwarePluginBase.php
ContextAwarePluginBase::getContextDefinitions function core/lib/Drupal/Component/Plugin/ContextAwarePluginBase.php Gets the context definitions of the plugin.
ContextAwarePluginBase::getContextMapping function core/lib/Drupal/Core/Plugin/ContextAwarePluginBase.php Gets a mapping of the expected assignment names to their context names.
ContextAwarePluginBase::getContexts function core/lib/Drupal/Component/Plugin/ContextAwarePluginBase.php Gets the defined contexts.
ContextAwarePluginBase::getContextValue function core/lib/Drupal/Component/Plugin/ContextAwarePluginBase.php Gets the value for a defined context.
ContextAwarePluginBase::getContextValues function core/lib/Drupal/Component/Plugin/ContextAwarePluginBase.php Gets the values for all defined contexts.
ContextAwarePluginBaseTest::testGetContextDefinition function core/tests/Drupal/KernelTests/Core/Plugin/Context/ContextAwarePluginBaseTest.php @covers ::getContextDefinition
ContextAwarePluginBaseTest::testGetContextDefinitions function core/tests/Drupal/KernelTests/Core/Plugin/Context/ContextAwarePluginBaseTest.php @covers ::getContextDefinitions
ContextAwarePluginBaseTest::testGetContextValue function core/tests/Drupal/KernelTests/Core/Plugin/Context/ContextAwarePluginBaseTest.php @covers ::getContextValue
@group legacy
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.
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/Component/Plugin/Context/ContextInterface.php Gets the provided definition that the context must conform to.
ContextInterface::getContextDefinition function core/lib/Drupal/Core/Plugin/Context/ContextInterface.php
ContextInterface::getContextValue function core/lib/Drupal/Component/Plugin/Context/ContextInterface.php Gets the context value.

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