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 10.3.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/Component/Plugin/Context/Context.php Gets the provided definition that the context must conform to.
Context::getContextDefinition function core/lib/Drupal/Core/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/Component/Plugin/ContextAwarePluginInterface.php Gets a specific context definition of the plugin.
ContextAwarePluginInterface::getContextDefinition function core/lib/Drupal/Core/Plugin/ContextAwarePluginInterface.php Gets a specific context definition of the plugin.
ContextAwarePluginInterface::getContextDefinitions function core/lib/Drupal/Core/Plugin/ContextAwarePluginInterface.php Gets the context definitions of the plugin.
ContextAwarePluginInterface::getContextDefinitions function core/lib/Drupal/Component/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
ContextAwarePluginTraitTest::testGetContextDefinition function core/tests/Drupal/KernelTests/Core/Plugin/Context/ContextAwarePluginTraitTest.php @covers ::getContextDefinition
ContextAwarePluginTraitTest::testGetContextDefinitions function core/tests/Drupal/KernelTests/Core/Plugin/Context/ContextAwarePluginTraitTest.php @covers ::getContextDefinitions
ContextAwarePluginTraitTest::testGetContextValue function core/tests/Drupal/KernelTests/Core/Plugin/Context/ContextAwarePluginTraitTest.php @covers ::getContextValue
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
@dataProvider providerGetContextValue
ContextTypedDataTest::testGetContextValue function core/tests/Drupal/KernelTests/Core/Plugin/ContextTypedDataTest.php Tests that getting a context value does not throw fatal errors.

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