Search for context
- Search 7.x for context
- Search 9.5.x for context
- Search 8.9.x for context
- Search 11.x for context
- Other projects
Exact matches
| Title | Object type | File name | Summary |
|---|---|---|---|
| Context | class | core/ |
A Drupal specific context wrapper class. |
| Context | class | core/ |
A generic context class for wrapping data a plugin needs to operate. |
All search results
| Title | Object type | File name | Summary |
|---|---|---|---|
| ProtocolVersionCacheContextTest | class | core/ |
@coversDefaultClass \Drupal\Core\Cache\Context\ProtocolVersionCacheContext[[api-linebreak]] @group Cache |
| ProtocolVersionCacheContextTest.php | file | core/ |
|
| ProtocolVersionCacheContextTest::providerTestGetContext | function | core/ |
Provides a list of query arguments and expected cache contexts. |
| ProtocolVersionCacheContextTest::testGetContext | function | core/ |
@covers ::getContext[[api-linebreak]] |
| QueryArgsCacheContext | class | core/ |
Defines the QueryArgsCacheContext service, for "per query args" caching. |
| QueryArgsCacheContext.php | file | core/ |
|
| QueryArgsCacheContext::getCacheableMetadata | function | core/ |
Gets the cacheability metadata for the context based on the parameter value. |
| QueryArgsCacheContext::getContext | function | core/ |
Returns the string representation of the cache context. |
| QueryArgsCacheContext::getLabel | function | core/ |
Returns the label of the cache context. |
| QueryArgsCacheContextTest | class | core/ |
@coversDefaultClass \Drupal\Core\Cache\Context\QueryArgsCacheContext[[api-linebreak]] @group Cache |
| QueryArgsCacheContextTest.php | file | core/ |
|
| QueryArgsCacheContextTest::providerTestGetContext | function | core/ |
Provides a list of query arguments and expected cache contexts. |
| QueryArgsCacheContextTest::testGetContext | function | core/ |
@covers ::getContext[[api-linebreak]] |
| QueryParameter::getCacheContexts | function | core/ |
The cache contexts associated with this object. |
| QueryPluginBase::getCacheContexts | function | core/ |
The cache contexts associated with this object. |
| Raw::getCacheContexts | function | core/ |
The cache contexts associated with this object. |
| ReadOnlyStream::$context | property | core/ |
Stream context resource. |
| RecursiveContextualValidator | class | core/ |
Defines a recursive contextual validator for Typed Data. |
| RecursiveContextualValidator.php | file | core/ |
|
| RecursiveContextualValidator::$constraintValidatorFactory | property | core/ |
The constraint validator factory. |
| RecursiveContextualValidator::$context | property | core/ |
The execution context. |
| RecursiveContextualValidator::$metadataFactory | property | core/ |
The metadata factory. |
| RecursiveContextualValidator::$typedDataManager | property | core/ |
The typed data manager. |
| RecursiveContextualValidator::atPath | function | core/ |
|
| RecursiveContextualValidator::getViolations | function | core/ |
|
| RecursiveContextualValidator::validate | function | core/ |
Validates a value against a constraint or a list of constraints. |
| RecursiveContextualValidator::validateConstraints | function | core/ |
Validates a node's value against all constraints in the given group. |
| RecursiveContextualValidator::validateNode | function | core/ |
Validates a Typed Data node in the validation tree. |
| RecursiveContextualValidator::validateProperty | function | core/ |
|
| RecursiveContextualValidator::validatePropertyValue | function | core/ |
|
| RecursiveContextualValidator::__construct | function | core/ |
Creates a validator for the given context. |
| RecursiveContextualValidatorTest | class | core/ |
@coversDefaultClass \Drupal\Core\TypedData\Validation\RecursiveContextualValidator[[api-linebreak]] @group Validation |
| RecursiveContextualValidatorTest | class | core/ |
@coversDefaultClass \Drupal\Core\TypedData\Validation\RecursiveContextualValidator[[api-linebreak]] @group TypedData |
| RecursiveContextualValidatorTest.php | file | core/ |
|
| RecursiveContextualValidatorTest.php | file | core/ |
|
| RecursiveContextualValidatorTest::$contextFactory | property | core/ |
The execution context factory. |
| RecursiveContextualValidatorTest::$modules | property | core/ |
Modules to install. |
| RecursiveContextualValidatorTest::$recursiveValidator | property | core/ |
The recursive validator. |
| RecursiveContextualValidatorTest::$typedDataManager | property | core/ |
The type data manager. |
| RecursiveContextualValidatorTest::$validatorFactory | property | core/ |
The validator factory. |
| RecursiveContextualValidatorTest::buildExampleTypedDataWithProperties | function | core/ |
Builds some example type data object. |
| RecursiveContextualValidatorTest::providerTestValidatePropertyWithInvalidObjects | function | core/ |
Provides data for testValidatePropertyWithInvalidObjects. |
| RecursiveContextualValidatorTest::setUp | function | core/ |
|
| RecursiveContextualValidatorTest::setUp | function | core/ |
|
| RecursiveContextualValidatorTest::setupTypedData | function | core/ |
Setups a typed data object used for test purposes. |
| RecursiveContextualValidatorTest::testBasicValidateWithConstraint | function | core/ |
@covers ::validate[[api-linebreak]] |
| RecursiveContextualValidatorTest::testBasicValidateWithMultipleConstraints | function | core/ |
@covers ::validate[[api-linebreak]] |
| RecursiveContextualValidatorTest::testBasicValidateWithoutConstraints | function | core/ |
@covers ::validate[[api-linebreak]] |
| RecursiveContextualValidatorTest::testPropertiesValidateWithMultipleLevels | function | core/ |
@covers ::validate[[api-linebreak]] |
| RecursiveContextualValidatorTest::testRecursiveValidate | function | core/ |
Tests recursive validation against given constraints against an entity. |
Pagination
- Previous page
- Page 26
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.