Search for context

  1. Search 7.x for context
  2. Search 9.5.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
PluralTranslation::$context property core/lib/Drupal/Core/Annotation/PluralTranslation.php The context the source strings belong to.
PoItem::$context property core/lib/Drupal/Component/Gettext/PoItem.php The context this translation belongs to.
PoItem::getContext function core/lib/Drupal/Component/Gettext/PoItem.php Gets the context this translation belongs to.
PoItem::setContext function core/lib/Drupal/Component/Gettext/PoItem.php Set the context this translation belongs to.
PoStreamReader::$context property core/lib/Drupal/Component/Gettext/PoStreamReader.php Parser context for the stream reader state machine.
PreviewTest::testPreviewContextual function core/modules/views_ui/tests/src/Functional/PreviewTest.php Tests contextual links in the preview form.
ProtocolVersionCacheContext class core/lib/Drupal/Core/Cache/Context/ProtocolVersionCacheContext.php Defines the ProtocolVersionCacheContext service, for "per protocol" caching.
ProtocolVersionCacheContext.php file core/lib/Drupal/Core/Cache/Context/ProtocolVersionCacheContext.php
ProtocolVersionCacheContext::getCacheableMetadata function core/lib/Drupal/Core/Cache/Context/ProtocolVersionCacheContext.php
ProtocolVersionCacheContext::getContext function core/lib/Drupal/Core/Cache/Context/ProtocolVersionCacheContext.php
ProtocolVersionCacheContext::getLabel function core/lib/Drupal/Core/Cache/Context/ProtocolVersionCacheContext.php
ProtocolVersionCacheContextTest class core/tests/Drupal/Tests/Core/Cache/Context/ProtocolVersionCacheContextTest.php @coversDefaultClass \Drupal\Core\Cache\Context\ProtocolVersionCacheContext[[api-linebreak]]
@group Cache
ProtocolVersionCacheContextTest.php file core/tests/Drupal/Tests/Core/Cache/Context/ProtocolVersionCacheContextTest.php
ProtocolVersionCacheContextTest::providerTestGetContext function core/tests/Drupal/Tests/Core/Cache/Context/ProtocolVersionCacheContextTest.php Provides a list of query arguments and expected cache contexts.
ProtocolVersionCacheContextTest::testGetContext function core/tests/Drupal/Tests/Core/Cache/Context/ProtocolVersionCacheContextTest.php @covers ::getContext[[api-linebreak]]
QueryArgsCacheContext class core/lib/Drupal/Core/Cache/Context/QueryArgsCacheContext.php Defines the QueryArgsCacheContext service, for "per query args" caching.
QueryArgsCacheContext.php file core/lib/Drupal/Core/Cache/Context/QueryArgsCacheContext.php
QueryArgsCacheContext::getCacheableMetadata function core/lib/Drupal/Core/Cache/Context/QueryArgsCacheContext.php
QueryArgsCacheContext::getContext function core/lib/Drupal/Core/Cache/Context/QueryArgsCacheContext.php
QueryArgsCacheContext::getLabel function core/lib/Drupal/Core/Cache/Context/QueryArgsCacheContext.php
QueryArgsCacheContextTest class core/tests/Drupal/Tests/Core/Cache/Context/QueryArgsCacheContextTest.php @coversDefaultClass \Drupal\Core\Cache\Context\QueryArgsCacheContext[[api-linebreak]]
@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[[api-linebreak]]
QueryParameter::getCacheContexts function core/modules/views/src/Plugin/views/argument_default/QueryParameter.php
QueryPluginBase::getCacheContexts function core/modules/views/src/Plugin/views/query/QueryPluginBase.php
Raw::getCacheContexts function core/modules/views/src/Plugin/views/argument_default/Raw.php
RdfMappingResourceTestBase::getExpectedCacheContexts function core/modules/rdf/tests/src/Functional/Rest/RdfMappingResourceTestBase.php
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::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
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[[api-linebreak]]
@group Validation
RecursiveContextualValidatorTest class core/tests/Drupal/Tests/Core/TypedData/RecursiveContextualValidatorTest.php @coversDefaultClass \Drupal\Core\TypedData\Validation\RecursiveContextualValidator[[api-linebreak]]
@group typedData
RecursiveContextualValidatorTest.php file core/tests/Drupal/KernelTests/Core/TypedData/RecursiveContextualValidatorTest.php
RecursiveContextualValidatorTest.php file core/tests/Drupal/Tests/Core/TypedData/RecursiveContextualValidatorTest.php Contains \Drupal\Tests\Core\TypedData\RecursiveContextualValidatorTest.
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
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.

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