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 10.3.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
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/KernelTests/Core/TypedData/RecursiveContextualValidatorTest.php @coversDefaultClass \Drupal\Core\TypedData\Validation\RecursiveContextualValidator
@group Validation
RecursiveContextualValidatorTest class core/tests/Drupal/Tests/Core/TypedData/RecursiveContextualValidatorTest.php @coversDefaultClass \Drupal\Core\TypedData\Validation\RecursiveContextualValidator
@group TypedData
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 install.
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/KernelTests/Core/TypedData/RecursiveContextualValidatorTest.php
RecursiveContextualValidatorTest::setUp function core/tests/Drupal/Tests/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.
RecursiveContextualValidatorTest::testValidateWithoutTypedData function core/tests/Drupal/Tests/Core/TypedData/RecursiveContextualValidatorTest.php Ensures that passing a non typed data value is not supported.
RecursiveValidator::$contextFactory property core/lib/Drupal/Core/TypedData/Validation/RecursiveValidator.php
RecursiveValidator::inContext function core/lib/Drupal/Core/TypedData/Validation/RecursiveValidator.php
RecursiveValidator::startContext function core/lib/Drupal/Core/TypedData/Validation/RecursiveValidator.php
RedirectResponseSubscriberTest::$requestContext property core/tests/Drupal/Tests/Core/EventSubscriber/RedirectResponseSubscriberTest.php The mocked request context.
RefinableCacheableDependencyInterface::addCacheContexts function core/lib/Drupal/Core/Cache/RefinableCacheableDependencyInterface.php Adds cache contexts.
RefinableCacheableDependencyTrait::addCacheContexts function core/lib/Drupal/Core/Cache/RefinableCacheableDependencyTrait.php
Relationship::$context property core/modules/jsonapi/src/JsonApiResource/Relationship.php The context resource object of the relationship.
Relationship::getContext function core/modules/jsonapi/src/JsonApiResource/Relationship.php Gets context resource object of the relationship.
RenderCacheIntegrationTest::testBuildRenderableWithCacheContexts function core/modules/views/tests/src/Kernel/RenderCacheIntegrationTest.php Ensure that the view renderable contains the cache contexts.
RenderCacheTest::doTestUser1WithContexts function core/tests/Drupal/KernelTests/Core/Render/RenderCacheTest.php Ensures that user 1 has a unique render cache for the given context.
RenderCacheTest::testUser1PermissionContext function core/tests/Drupal/KernelTests/Core/Render/RenderCacheTest.php Tests that user 1 has a different permission context with the same roles.
RenderCacheTest::testUser1RolesContext function core/tests/Drupal/KernelTests/Core/Render/RenderCacheTest.php Tests that user 1 has a different roles context with the same roles.
RenderContext class core/lib/Drupal/Core/Render/RenderContext.php The render context: a stack containing bubbleable rendering metadata.
RenderContext.php file core/lib/Drupal/Core/Render/RenderContext.php

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