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
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
RenderContext::bubble function core/lib/Drupal/Core/Render/RenderContext.php Bubbles the stack.
RenderContext::update function core/lib/Drupal/Core/Render/RenderContext.php Updates the current frame of the stack.
RenderedEntity::getCacheContexts function core/modules/views/src/Plugin/views/field/RenderedEntity.php The cache contexts associated with this object.
Renderer::$contextCollection property core/lib/Drupal/Core/Render/Renderer.php The render context collection.
Renderer::executeInRenderContext function core/lib/Drupal/Core/Render/Renderer.php Executes a callable within a render context.
Renderer::getCurrentRenderContext function core/lib/Drupal/Core/Render/Renderer.php Returns the current render context.
Renderer::hasRenderContext function core/lib/Drupal/Core/Render/Renderer.php Checks whether a render context is active.
Renderer::setCurrentRenderContext function core/lib/Drupal/Core/Render/Renderer.php Sets the current render context.
RendererBase::getCacheContexts function core/modules/views/src/Entity/Render/RendererBase.php The cache contexts associated with this object.
RendererBubblingTest::providerTestContextBubblingEdgeCases function core/tests/Drupal/Tests/Core/Render/RendererBubblingTest.php

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