Search for %s

  1. Search 7.x for %s
  2. Search 9.5.x for %s
  3. Search 8.9.x for %s
  4. Search 11.x for %s
  5. Search main for %s
  6. Other projects
Title Object type File name Summary
ContextAwarePluginAssignmentTrait.php file core/lib/Drupal/Core/Plugin/ContextAwarePluginAssignmentTrait.php
ContextAwarePluginAssignmentTrait::addContextAssignmentElement function core/lib/Drupal/Core/Plugin/ContextAwarePluginAssignmentTrait.php Builds a form element for assigning a context to a given slot.
ContextAwarePluginAssignmentTrait::contextHandler function core/lib/Drupal/Core/Plugin/ContextAwarePluginAssignmentTrait.php Wraps the context handler.
ContextAwarePluginAssignmentTrait::t function core/lib/Drupal/Core/Plugin/ContextAwarePluginAssignmentTrait.php Ensures the t() method is available.
ContextAwarePluginDefinitionInterface::getContextDefinitions function core/lib/Drupal/Component/Plugin/Definition/ContextAwarePluginDefinitionInterface.php Returns all context definitions for this plugin.
ContextAwarePluginDefinitionInterface::hasContextDefinition function core/lib/Drupal/Component/Plugin/Definition/ContextAwarePluginDefinitionInterface.php Checks if the plugin defines a particular context.
ContextAwarePluginDefinitionTrait::$contextDefinitions property core/lib/Drupal/Component/Plugin/Definition/ContextAwarePluginDefinitionTrait.php The context definitions for this plugin definition.
ContextAwarePluginDefinitionTrait::getContextDefinitions function core/lib/Drupal/Component/Plugin/Definition/ContextAwarePluginDefinitionTrait.php Implements \Drupal\Component\Plugin\Definition\ContextAwarePluginDefinitionInterface::getContextDefinitions().
ContextAwarePluginDefinitionTrait::hasContextDefinition function core/lib/Drupal/Component/Plugin/Definition/ContextAwarePluginDefinitionTrait.php Implements \Drupal\Component\Plugin\Definition\ContextAwarePluginDefinitionInterface::hasContextDefinition().
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::getContexts function core/lib/Drupal/Component/Plugin/ContextAwarePluginInterface.php Gets the defined contexts.
ContextAwarePluginInterface::getContextValues function core/lib/Drupal/Component/Plugin/ContextAwarePluginInterface.php Gets the values for all defined contexts.
ContextAwarePluginInterface::setContext function core/lib/Drupal/Component/Plugin/ContextAwarePluginInterface.php Set a context on this plugin.
ContextAwarePluginInterface::setContextMapping function core/lib/Drupal/Component/Plugin/ContextAwarePluginInterface.php Sets a mapping of the expected assignment names to their context names.
ContextAwarePluginInterface::setContextValue function core/lib/Drupal/Component/Plugin/ContextAwarePluginInterface.php Sets the value for a defined context.
ContextAwarePluginInterface::validateContexts function core/lib/Drupal/Component/Plugin/ContextAwarePluginInterface.php Validates the set values for the defined contexts.
ContextAwarePluginManagerInterface::getDefinitionsForContexts function core/lib/Drupal/Core/Plugin/Context/ContextAwarePluginManagerInterface.php Determines plugins whose constraints are satisfied by a set of contexts.
ContextAwarePluginManagerTrait::getDefinitions function core/lib/Drupal/Core/Plugin/Context/ContextAwarePluginManagerTrait.php See \Drupal\Component\Plugin\Discovery\DiscoveryInterface::getDefinitions().
ContextAwarePluginManagerTrait::getDefinitionsForContexts function core/lib/Drupal/Core/Plugin/Context/ContextAwarePluginManagerTrait.php See \Drupal\Core\Plugin\Context\ContextAwarePluginManagerInterface::getDefinitionsForContexts().
ContextAwarePluginTrait::getCacheContexts function core/lib/Drupal/Core/Plugin/ContextAwarePluginTrait.php
ContextAwarePluginTrait::getCacheTags function core/lib/Drupal/Core/Plugin/ContextAwarePluginTrait.php
ContextAwarePluginTrait::getContextDefinitions function core/lib/Drupal/Core/Plugin/ContextAwarePluginTrait.php
ContextAwarePluginTrait::getContexts function core/lib/Drupal/Core/Plugin/ContextAwarePluginTrait.php
ContextAwarePluginTrait::getContextValues function core/lib/Drupal/Core/Plugin/ContextAwarePluginTrait.php
ContextAwarePluginTrait::setContext function core/lib/Drupal/Core/Plugin/ContextAwarePluginTrait.php
ContextAwarePluginTrait::setContextMapping function core/lib/Drupal/Core/Plugin/ContextAwarePluginTrait.php
ContextAwarePluginTrait::setContextValue function core/lib/Drupal/Core/Plugin/ContextAwarePluginTrait.php
ContextAwarePluginTrait::validateContexts function core/lib/Drupal/Core/Plugin/ContextAwarePluginTrait.php
ContextAwarePluginTraitTest class core/tests/Drupal/KernelTests/Core/Plugin/Context/ContextAwarePluginTraitTest.php @coversDefaultClass \Drupal\Core\Plugin\ContextAwarePluginTrait[[api-linebreak]]
ContextAwarePluginTraitTest.php file core/tests/Drupal/KernelTests/Core/Plugin/Context/ContextAwarePluginTraitTest.php
ContextAwarePluginTraitTest::$configurablePlugin property core/tests/Drupal/KernelTests/Core/Plugin/Context/ContextAwarePluginTraitTest.php The configurable plugin instance under test.
ContextAwarePluginTraitTest::$plugin property core/tests/Drupal/KernelTests/Core/Plugin/Context/ContextAwarePluginTraitTest.php The plugin instance under test.
ContextAwarePluginTraitTest::setUp function core/tests/Drupal/KernelTests/Core/Plugin/Context/ContextAwarePluginTraitTest.php
ContextAwarePluginTraitTest::testGetContextDefinition function core/tests/Drupal/KernelTests/Core/Plugin/Context/ContextAwarePluginTraitTest.php @covers ::getContextDefinition[[api-linebreak]]
ContextAwarePluginTraitTest::testGetContextDefinitions function core/tests/Drupal/KernelTests/Core/Plugin/Context/ContextAwarePluginTraitTest.php @covers ::getContextDefinitions[[api-linebreak]]
ContextAwarePluginTraitTest::testGetContextValue function core/tests/Drupal/KernelTests/Core/Plugin/Context/ContextAwarePluginTraitTest.php @covers ::getContextValue[[api-linebreak]]
ContextAwarePluginTraitTest::testSetContextValue function core/tests/Drupal/KernelTests/Core/Plugin/Context/ContextAwarePluginTraitTest.php @covers ::setContextValue[[api-linebreak]]
ContextAwareVariantInterface::getContexts function core/lib/Drupal/Core/Display/ContextAwareVariantInterface.php Gets the values for all defined contexts.
ContextAwareVariantInterface::setContexts function core/lib/Drupal/Core/Display/ContextAwareVariantInterface.php Sets the context values for this display variant.
ContextCacheKeys class core/lib/Drupal/Core/Cache/Context/ContextCacheKeys.php A value object to store generated cache keys with its cacheability metadata.
ContextCacheKeys.php file core/lib/Drupal/Core/Cache/Context/ContextCacheKeys.php
ContextCacheKeys::$keys property core/lib/Drupal/Core/Cache/Context/ContextCacheKeys.php The generated cache keys.
ContextCacheKeys::getKeys function core/lib/Drupal/Core/Cache/Context/ContextCacheKeys.php Gets the generated cache keys.
ContextCacheKeys::__construct function core/lib/Drupal/Core/Cache/Context/ContextCacheKeys.php Constructs a ContextCacheKeys object.
ContextDefinition::$constraints property core/lib/Drupal/Core/Plugin/Context/ContextDefinition.php An array of constraints.
ContextDefinition::$description property core/lib/Drupal/Core/Plugin/Context/ContextDefinition.php The human-readable description.
ContextDefinition::$isMultiple property core/lib/Drupal/Core/Plugin/Context/ContextDefinition.php Whether the data is multi-valued, i.e. a list of data items.
ContextDefinition::$isRequired property core/lib/Drupal/Core/Plugin/Context/ContextDefinition.php Determines whether a data value is required.
ContextDefinition::addConstraint function core/lib/Drupal/Core/Plugin/Context/ContextDefinition.php Adds a validation constraint.

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