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
QueryArgsCacheContext::getLabel function core/lib/Drupal/Core/Cache/Context/QueryArgsCacheContext.php Returns the label of the cache context.
QueryArgsCacheContextTest class core/tests/Drupal/Tests/Core/Cache/Context/QueryArgsCacheContextTest.php @coversDefaultClass \Drupal\Core\Cache\Context\QueryArgsCacheContext
@group Cache
QueryArgsCacheContextTest.php file core/tests/Drupal/Tests/Core/Cache/Context/QueryArgsCacheContextTest.php
QueryArgsCacheContextTest::providerTestGetContext function core/tests/Drupal/Tests/Core/Cache/Context/QueryArgsCacheContextTest.php Provides a list of query arguments and expected cache contexts.
QueryArgsCacheContextTest::testGetContext function core/tests/Drupal/Tests/Core/Cache/Context/QueryArgsCacheContextTest.php @covers ::getContext
QueryParameter::getCacheContexts function core/modules/views/src/Plugin/views/argument_default/QueryParameter.php The cache contexts associated with this object.
QueryPluginBase::getCacheContexts function core/modules/views/src/Plugin/views/query/QueryPluginBase.php The cache contexts associated with this object.
Raw::getCacheContexts function core/modules/views/src/Plugin/views/argument_default/Raw.php The cache contexts associated with this object.
RdfMappingResourceTestBase::getExpectedCacheContexts function core/modules/rdf/tests/src/Functional/Rest/RdfMappingResourceTestBase.php The expected cache contexts for the GET/HEAD response of the test entity.
ReadOnlyStream::$context property core/lib/Drupal/Core/StreamWrapper/ReadOnlyStream.php Stream context resource.
RecursiveContextualValidator class core/lib/Drupal/Core/TypedData/Validation/RecursiveContextualValidator.php Defines a recursive contextual validator for Typed Data.
RecursiveContextualValidator.php file core/lib/Drupal/Core/TypedData/Validation/RecursiveContextualValidator.php
RecursiveContextualValidator::$constraintValidatorFactory property core/lib/Drupal/Core/TypedData/Validation/RecursiveContextualValidator.php The constraint validator factory.
RecursiveContextualValidator::$context property core/lib/Drupal/Core/TypedData/Validation/RecursiveContextualValidator.php The execution context.
RecursiveContextualValidator::$metadataFactory property core/lib/Drupal/Core/TypedData/Validation/RecursiveContextualValidator.php The metadata factory.
RecursiveContextualValidator::$typedDataManager property core/lib/Drupal/Core/TypedData/Validation/RecursiveContextualValidator.php The typed data manager.
RecursiveContextualValidator::atPath function core/lib/Drupal/Core/TypedData/Validation/RecursiveContextualValidator.php
RecursiveContextualValidator::getViolations function core/lib/Drupal/Core/TypedData/Validation/RecursiveContextualValidator.php
RecursiveContextualValidator::validate function core/lib/Drupal/Core/TypedData/Validation/RecursiveContextualValidator.php Validates a value against a constraint or a list of constraints.
RecursiveContextualValidator::validateConstraints function core/lib/Drupal/Core/TypedData/Validation/RecursiveContextualValidator.php Validates a node's value against all constraints in the given group.
RecursiveContextualValidator::validateNode function core/lib/Drupal/Core/TypedData/Validation/RecursiveContextualValidator.php Validates a Typed Data node in the validation tree.
RecursiveContextualValidator::validateProperty function core/lib/Drupal/Core/TypedData/Validation/RecursiveContextualValidator.php
RecursiveContextualValidator::validatePropertyValue function core/lib/Drupal/Core/TypedData/Validation/RecursiveContextualValidator.php
RecursiveContextualValidator::__construct function core/lib/Drupal/Core/TypedData/Validation/RecursiveContextualValidator.php Creates a validator for the given context.
RecursiveContextualValidatorTest class core/tests/Drupal/Tests/Core/TypedData/RecursiveContextualValidatorTest.php @coversDefaultClass \Drupal\Core\TypedData\Validation\RecursiveContextualValidator
@group typedData
RecursiveContextualValidatorTest class core/tests/Drupal/KernelTests/Core/TypedData/RecursiveContextualValidatorTest.php @coversDefaultClass \Drupal\Core\TypedData\Validation\RecursiveContextualValidator
@group Validation
RecursiveContextualValidatorTest.php file core/tests/Drupal/KernelTests/Core/TypedData/RecursiveContextualValidatorTest.php
RecursiveContextualValidatorTest.php file core/tests/Drupal/Tests/Core/TypedData/RecursiveContextualValidatorTest.php
RecursiveContextualValidatorTest::$contextFactory property core/tests/Drupal/Tests/Core/TypedData/RecursiveContextualValidatorTest.php The execution context factory.
RecursiveContextualValidatorTest::$modules property core/tests/Drupal/KernelTests/Core/TypedData/RecursiveContextualValidatorTest.php Modules to enable.
RecursiveContextualValidatorTest::$recursiveValidator property core/tests/Drupal/Tests/Core/TypedData/RecursiveContextualValidatorTest.php The recursive validator.
RecursiveContextualValidatorTest::$typedDataManager property core/tests/Drupal/Tests/Core/TypedData/RecursiveContextualValidatorTest.php The type data manager.
RecursiveContextualValidatorTest::$validatorFactory property core/tests/Drupal/Tests/Core/TypedData/RecursiveContextualValidatorTest.php The validator factory.
RecursiveContextualValidatorTest::buildExampleTypedDataWithProperties function core/tests/Drupal/Tests/Core/TypedData/RecursiveContextualValidatorTest.php Builds some example type data object.
RecursiveContextualValidatorTest::providerTestValidatePropertyWithInvalidObjects function core/tests/Drupal/Tests/Core/TypedData/RecursiveContextualValidatorTest.php Provides data for testValidatePropertyWithInvalidObjects.
RecursiveContextualValidatorTest::setUp function core/tests/Drupal/Tests/Core/TypedData/RecursiveContextualValidatorTest.php
RecursiveContextualValidatorTest::setUp function core/tests/Drupal/KernelTests/Core/TypedData/RecursiveContextualValidatorTest.php
RecursiveContextualValidatorTest::setupTypedData function core/tests/Drupal/Tests/Core/TypedData/RecursiveContextualValidatorTest.php Setups a typed data object used for test purposes.
RecursiveContextualValidatorTest::testBasicValidateWithConstraint function core/tests/Drupal/Tests/Core/TypedData/RecursiveContextualValidatorTest.php @covers ::validate
RecursiveContextualValidatorTest::testBasicValidateWithMultipleConstraints function core/tests/Drupal/Tests/Core/TypedData/RecursiveContextualValidatorTest.php @covers ::validate
RecursiveContextualValidatorTest::testBasicValidateWithoutConstraints function core/tests/Drupal/Tests/Core/TypedData/RecursiveContextualValidatorTest.php @covers ::validate
RecursiveContextualValidatorTest::testPropertiesValidateWithMultipleLevels function core/tests/Drupal/Tests/Core/TypedData/RecursiveContextualValidatorTest.php @covers ::validate
RecursiveContextualValidatorTest::testRecursiveValidate function core/tests/Drupal/KernelTests/Core/TypedData/RecursiveContextualValidatorTest.php Tests recursive validation against given constraints against an entity.
RecursiveContextualValidatorTest::testRecursiveViolationPropagation function core/tests/Drupal/KernelTests/Core/TypedData/RecursiveContextualValidatorTest.php Tests recursive propagation of violations.
RecursiveContextualValidatorTest::testValidateProperty function core/tests/Drupal/Tests/Core/TypedData/RecursiveContextualValidatorTest.php @covers ::validateProperty
RecursiveContextualValidatorTest::testValidatePropertyValue function core/tests/Drupal/Tests/Core/TypedData/RecursiveContextualValidatorTest.php @covers ::validatePropertyValue
RecursiveContextualValidatorTest::testValidatePropertyValueWithInvalidObjects function core/tests/Drupal/Tests/Core/TypedData/RecursiveContextualValidatorTest.php @covers ::validatePropertyValue
RecursiveContextualValidatorTest::testValidatePropertyWithCustomGroup function core/tests/Drupal/Tests/Core/TypedData/RecursiveContextualValidatorTest.php @covers ::validateProperty
RecursiveContextualValidatorTest::testValidatePropertyWithInvalidObjects function core/tests/Drupal/Tests/Core/TypedData/RecursiveContextualValidatorTest.php @covers ::validateProperty
RecursiveContextualValidatorTest::testValidateWithGroups function core/tests/Drupal/Tests/Core/TypedData/RecursiveContextualValidatorTest.php Ensures that passing an explicit group is not supported.

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