Search for context

  1. Search 7.x for context
  2. Search 9.5.x for context
  3. Search 8.9.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
ExecutionContext::$group property core/lib/Drupal/Core/Validation/ExecutionContext.php The currently validated group.
ExecutionContext::$metadata property core/lib/Drupal/Core/Validation/ExecutionContext.php The current validation metadata.
ExecutionContext::$object property core/lib/Drupal/Core/Validation/ExecutionContext.php The currently validated object.
ExecutionContext::$propertyPath property core/lib/Drupal/Core/Validation/ExecutionContext.php The property path leading to the current value.
ExecutionContext::$validatedConstraints property core/lib/Drupal/Core/Validation/ExecutionContext.php Stores which class constraint has been validated for which object.
ExecutionContext::$validatedObjects property core/lib/Drupal/Core/Validation/ExecutionContext.php Stores which objects have been validated in which group.
ExecutionContext::$value property core/lib/Drupal/Core/Validation/ExecutionContext.php The currently validated value.
ExecutionContext::$violations property core/lib/Drupal/Core/Validation/ExecutionContext.php The violations generated in the current context.
ExecutionContext::addViolation function core/lib/Drupal/Core/Validation/ExecutionContext.php phpcs:ignore Drupal.Commenting.FunctionComment.VoidReturn
ExecutionContext::buildViolation function core/lib/Drupal/Core/Validation/ExecutionContext.php
ExecutionContext::getClassName function core/lib/Drupal/Core/Validation/ExecutionContext.php
ExecutionContext::getGroup function core/lib/Drupal/Core/Validation/ExecutionContext.php
ExecutionContext::getMetadata function core/lib/Drupal/Core/Validation/ExecutionContext.php
ExecutionContext::getObject function core/lib/Drupal/Core/Validation/ExecutionContext.php
ExecutionContext::getPropertyName function core/lib/Drupal/Core/Validation/ExecutionContext.php
ExecutionContext::getPropertyPath function core/lib/Drupal/Core/Validation/ExecutionContext.php
ExecutionContext::getRoot function core/lib/Drupal/Core/Validation/ExecutionContext.php
ExecutionContext::getValidator function core/lib/Drupal/Core/Validation/ExecutionContext.php
ExecutionContext::getValue function core/lib/Drupal/Core/Validation/ExecutionContext.php
ExecutionContext::getViolations function core/lib/Drupal/Core/Validation/ExecutionContext.php
ExecutionContext::isConstraintValidated function core/lib/Drupal/Core/Validation/ExecutionContext.php
ExecutionContext::isGroupValidated function core/lib/Drupal/Core/Validation/ExecutionContext.php
ExecutionContext::isObjectInitialized function core/lib/Drupal/Core/Validation/ExecutionContext.php
ExecutionContext::markConstraintAsValidated function core/lib/Drupal/Core/Validation/ExecutionContext.php
ExecutionContext::markGroupAsValidated function core/lib/Drupal/Core/Validation/ExecutionContext.php
ExecutionContext::markObjectAsInitialized function core/lib/Drupal/Core/Validation/ExecutionContext.php
ExecutionContext::setConstraint function core/lib/Drupal/Core/Validation/ExecutionContext.php
ExecutionContext::setGroup function core/lib/Drupal/Core/Validation/ExecutionContext.php
ExecutionContext::setNode function core/lib/Drupal/Core/Validation/ExecutionContext.php
ExecutionContext::__construct function core/lib/Drupal/Core/Validation/ExecutionContext.php Creates a new ExecutionContext.
ExecutionContext::__construct function core/lib/Drupal/Core/TypedData/Validation/ExecutionContext.php Creates a new ExecutionContext.
ExecutionContextFactory class core/lib/Drupal/Core/TypedData/Validation/ExecutionContextFactory.php Defines an execution factory for the Typed Data validator.
ExecutionContextFactory class core/lib/Drupal/Core/Validation/ExecutionContextFactory.php Defines an execution factory for the Symfony validator.
ExecutionContextFactory.php file core/lib/Drupal/Core/Validation/ExecutionContextFactory.php
ExecutionContextFactory.php file core/lib/Drupal/Core/TypedData/Validation/ExecutionContextFactory.php
ExecutionContextFactory::createContext function core/lib/Drupal/Core/Validation/ExecutionContextFactory.php
ExecutionContextFactory::__construct function core/lib/Drupal/Core/Validation/ExecutionContextFactory.php Constructs a new ExecutionContextFactory instance.
ExecutionContextFactory::__construct function core/lib/Drupal/Core/TypedData/Validation/ExecutionContextFactory.php Constructs a new ExecutionContextFactory instance.
ExposedFormPluginBase::getCacheContexts function core/modules/views/src/Plugin/views/exposed_form/ExposedFormPluginBase.php The cache contexts associated with this object.
FakeViewModeContext class core/modules/layout_builder/tests/modules/layout_builder_fieldblock_test/src/ContextProvider/FakeViewModeContext.php Provides a global context for view_mode for testing purposes.
FakeViewModeContext.php file core/modules/layout_builder/tests/modules/layout_builder_fieldblock_test/src/ContextProvider/FakeViewModeContext.php
FakeViewModeContext::getAvailableContexts function core/modules/layout_builder/tests/modules/layout_builder_fieldblock_test/src/ContextProvider/FakeViewModeContext.php Gets all available contexts for the purposes of configuration.
FakeViewModeContext::getRuntimeContexts function core/modules/layout_builder/tests/modules/layout_builder_fieldblock_test/src/ContextProvider/FakeViewModeContext.php Gets runtime context values for the given context IDs.
FieldConfigResourceTestBase::getExpectedCacheContexts function core/modules/field/tests/src/Functional/Rest/FieldConfigResourceTestBase.php The expected cache contexts for the GET/HEAD response of the test entity.
FileResourceTestBase::getExpectedCacheContexts function core/modules/file/tests/src/Functional/Rest/FileResourceTestBase.php The expected cache contexts for the GET/HEAD response of the test entity.
FilterPluginBase::getCacheContexts function core/modules/views/src/Plugin/views/filter/FilterPluginBase.php The cache contexts associated with this object.
FilterTestCacheContexts class core/modules/filter/tests/filter_test/src/Plugin/Filter/FilterTestCacheContexts.php Provides a test filter to associate cache contexts.
FilterTestCacheContexts.php file core/modules/filter/tests/filter_test/src/Plugin/Filter/FilterTestCacheContexts.php
FilterTestCacheContexts::process function core/modules/filter/tests/filter_test/src/Plugin/Filter/FilterTestCacheContexts.php Performs the filter processing.
FinishResponseSubscriber::$cacheContextsManager property core/lib/Drupal/Core/EventSubscriber/FinishResponseSubscriber.php The cache contexts manager service.

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