Search for context

  1. Search 7.x for context
  2. Search 8.9.x for context
  3. Search 10.3.x for context
  4. Search 11.x for context
  5. Other projects

Exact matches

These are exact matches according to your search
Title Object type File name Summary
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.

All search results

Title Object type File name Summary
EntityTestViewGrantsCacheContext::getLabel function core/modules/system/tests/modules/entity_test/src/Cache/EntityTestViewGrantsCacheContext.php Returns the label of the cache context.
EntityType::$list_cache_contexts property core/lib/Drupal/Core/Entity/EntityType.php The list cache contexts for this entity type.
EntityType::getListCacheContexts function core/lib/Drupal/Core/Entity/EntityType.php The list cache contexts associated with this entity type.
EntityTypeInterface::getListCacheContexts function core/lib/Drupal/Core/Entity/EntityTypeInterface.php The list cache contexts associated with this entity type.
EntityUnitTest::testCacheContexts function core/tests/Drupal/Tests/Core/Entity/EntityUnitTest.php @covers ::getCacheContexts
@covers ::addCacheContexts
EntityViewBuilder::addContextualLinks function core/lib/Drupal/Core/Entity/EntityViewBuilder.php Add contextual links.
EntityViewDisplay::$displayContext property core/lib/Drupal/Core/Entity/Entity/EntityViewDisplay.php Context in which this entity will be used (e.g. 'view', 'form').
EntityViewDisplayEditForm::$displayContext property core/modules/field_ui/src/Form/EntityViewDisplayEditForm.php The display context. Either 'view' or 'form'.
EntityViewDisplayResourceTestBase::getExpectedCacheContexts function core/tests/Drupal/FunctionalTests/Rest/EntityViewDisplayResourceTestBase.php The expected cache contexts for the GET/HEAD response of the test entity.
EntityWithUriCacheTagsTestBase::getDefaultCacheContexts function core/modules/system/tests/src/Functional/Entity/EntityWithUriCacheTagsTestBase.php Gets the default cache contexts for rendered entities.
ExecutionContext class core/lib/Drupal/Core/TypedData/Validation/ExecutionContext.php Defines an execution context class.
ExecutionContext.php file core/lib/Drupal/Core/TypedData/Validation/ExecutionContext.php
ExecutionContext::$constraint property core/lib/Drupal/Core/TypedData/Validation/ExecutionContext.php The currently validated constraint.
ExecutionContext::$data property core/lib/Drupal/Core/TypedData/Validation/ExecutionContext.php The currently validated typed data object.
ExecutionContext::$group property core/lib/Drupal/Core/TypedData/Validation/ExecutionContext.php The currently validated group.
ExecutionContext::$metadata property core/lib/Drupal/Core/TypedData/Validation/ExecutionContext.php The current validation metadata.
ExecutionContext::$propertyPath property core/lib/Drupal/Core/TypedData/Validation/ExecutionContext.php The property path leading to the current value.
ExecutionContext::$root property core/lib/Drupal/Core/TypedData/Validation/ExecutionContext.php The root value of the validated object graph.
ExecutionContext::$translationDomain property core/lib/Drupal/Core/TypedData/Validation/ExecutionContext.php
ExecutionContext::$translator property core/lib/Drupal/Core/TypedData/Validation/ExecutionContext.php
ExecutionContext::$validatedConstraints property core/lib/Drupal/Core/TypedData/Validation/ExecutionContext.php Stores which class constraint has been validated for which object.
ExecutionContext::$validatedObjects property core/lib/Drupal/Core/TypedData/Validation/ExecutionContext.php Stores which objects have been validated in which group.
ExecutionContext::$validator property core/lib/Drupal/Core/TypedData/Validation/ExecutionContext.php
ExecutionContext::$value property core/lib/Drupal/Core/TypedData/Validation/ExecutionContext.php The currently validated value.
ExecutionContext::$violations property core/lib/Drupal/Core/TypedData/Validation/ExecutionContext.php The violations generated in the current context.
ExecutionContext::addViolation function core/lib/Drupal/Core/TypedData/Validation/ExecutionContext.php
ExecutionContext::addViolationAt function core/lib/Drupal/Core/TypedData/Validation/ExecutionContext.php
ExecutionContext::buildViolation function core/lib/Drupal/Core/TypedData/Validation/ExecutionContext.php
ExecutionContext::getClassName function core/lib/Drupal/Core/TypedData/Validation/ExecutionContext.php
ExecutionContext::getGroup function core/lib/Drupal/Core/TypedData/Validation/ExecutionContext.php
ExecutionContext::getMetadata function core/lib/Drupal/Core/TypedData/Validation/ExecutionContext.php
ExecutionContext::getMetadataFactory function core/lib/Drupal/Core/TypedData/Validation/ExecutionContext.php
ExecutionContext::getObject function core/lib/Drupal/Core/TypedData/Validation/ExecutionContext.php
ExecutionContext::getPropertyName function core/lib/Drupal/Core/TypedData/Validation/ExecutionContext.php
ExecutionContext::getPropertyPath function core/lib/Drupal/Core/TypedData/Validation/ExecutionContext.php
ExecutionContext::getRoot function core/lib/Drupal/Core/TypedData/Validation/ExecutionContext.php
ExecutionContext::getValidator function core/lib/Drupal/Core/TypedData/Validation/ExecutionContext.php
ExecutionContext::getValue function core/lib/Drupal/Core/TypedData/Validation/ExecutionContext.php
ExecutionContext::getViolations function core/lib/Drupal/Core/TypedData/Validation/ExecutionContext.php
ExecutionContext::isConstraintValidated function core/lib/Drupal/Core/TypedData/Validation/ExecutionContext.php
ExecutionContext::isGroupValidated function core/lib/Drupal/Core/TypedData/Validation/ExecutionContext.php
ExecutionContext::isObjectInitialized function core/lib/Drupal/Core/TypedData/Validation/ExecutionContext.php
ExecutionContext::markConstraintAsValidated function core/lib/Drupal/Core/TypedData/Validation/ExecutionContext.php
ExecutionContext::markGroupAsValidated function core/lib/Drupal/Core/TypedData/Validation/ExecutionContext.php
ExecutionContext::markObjectAsInitialized function core/lib/Drupal/Core/TypedData/Validation/ExecutionContext.php
ExecutionContext::setConstraint function core/lib/Drupal/Core/TypedData/Validation/ExecutionContext.php
ExecutionContext::setGroup function core/lib/Drupal/Core/TypedData/Validation/ExecutionContext.php
ExecutionContext::setNode function core/lib/Drupal/Core/TypedData/Validation/ExecutionContext.php
ExecutionContext::validate function core/lib/Drupal/Core/TypedData/Validation/ExecutionContext.php
ExecutionContext::validateValue function core/lib/Drupal/Core/TypedData/Validation/ExecutionContext.php

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