Search for %s
- Search 7.x for %s
- Search 9.5.x for %s
- Search 8.9.x for %s
- Search 10.3.x for %s
- Search main for %s
- Other projects
| Title | Object type | File name | Summary |
|---|---|---|---|
| ContextCacheKeys | class | core/ |
A value object to store generated cache keys with its cacheability metadata. |
| ContextCacheKeys.php | file | core/ |
|
| ContextCacheKeys::$keys | property | core/ |
The generated cache keys. |
| ContextCacheKeys::getKeys | function | core/ |
Gets the generated cache keys. |
| ContextCacheKeys::__construct | function | core/ |
Constructs a ContextCacheKeys object. |
| ContextDefinition::$constraints | property | core/ |
An array of constraints. |
| ContextDefinition::$description | property | core/ |
The human-readable description. |
| ContextDefinition::$isMultiple | property | core/ |
Whether the data is multi-valued, i.e. a list of data items. |
| ContextDefinition::$isRequired | property | core/ |
Determines whether a data value is required. |
| ContextDefinition::addConstraint | function | core/ |
Adds a validation constraint. |
| ContextDefinition::dataTypeMatches | function | core/ |
Checks if this definition's data type matches that of the given context. |
| ContextDefinition::getConstraint | function | core/ |
Gets a validation constraint. |
| ContextDefinition::getConstraintObjects | function | core/ |
Extracts an array of constraints for a context definition object. |
| ContextDefinition::getConstraints | function | core/ |
Gets an array of validation constraints. |
| ContextDefinition::getDefinitionClass | function | core/ |
Determines the context definition class to use. |
| ContextDefinition::getDescription | function | core/ |
Gets a human readable description. |
| ContextDefinition::getSampleValues | function | core/ |
Returns typed data objects representing this context definition. |
| ContextDefinition::isMultiple | function | core/ |
Determines whether the data is multi-valued, i.e. a list of data items. |
| ContextDefinition::isRequired | function | core/ |
Determines whether the context is required. |
| ContextDefinition::isSatisfiedBy | function | core/ |
Determines if this definition is satisfied by a context object. |
| ContextDefinition::setConstraints | function | core/ |
Sets the array of validation constraints. |
| ContextDefinition::setDataType | function | core/ |
Sets the data type needed by the context. |
| ContextDefinition::setDefaultValue | function | core/ |
Sets the default data value. |
| ContextDefinition::setDescription | function | core/ |
Sets the human readable description. |
| ContextDefinition::setLabel | function | core/ |
Sets the human readable label. |
| ContextDefinition::setMultiple | function | core/ |
Sets whether the data is multi-valued. |
| ContextDefinition::setRequired | function | core/ |
Sets whether the data is required. |
| ContextDefinition::__construct | function | core/ |
Constructs a new context definition object. |
| ContextDefinition::__construct | function | core/ |
Constructs a new context definition object. |
| ContextDefinitionInterface::addConstraint | function | core/ |
Adds a validation constraint. |
| ContextDefinitionInterface::getConstraint | function | core/ |
Gets a validation constraint. |
| ContextDefinitionInterface::getConstraints | function | core/ |
Gets an array of validation constraints. |
| ContextDefinitionInterface::getDescription | function | core/ |
Gets a human readable description. |
| ContextDefinitionInterface::isMultiple | function | core/ |
Determines whether the data is multi-valued, i.e. a list of data items. |
| ContextDefinitionInterface::isRequired | function | core/ |
Determines whether the context is required. |
| ContextDefinitionInterface::isSatisfiedBy | function | core/ |
Determines if this definition is satisfied by a context object. |
| ContextDefinitionInterface::setConstraints | function | core/ |
Sets the array of validation constraints. |
| ContextDefinitionInterface::setDataType | function | core/ |
Sets the data type needed by the context. |
| ContextDefinitionInterface::setDefaultValue | function | core/ |
Sets the default data value. |
| ContextDefinitionInterface::setDescription | function | core/ |
Sets the human readable description. |
| ContextDefinitionInterface::setLabel | function | core/ |
Sets the human readable label. |
| ContextDefinitionInterface::setMultiple | function | core/ |
Sets whether the data is multi-valued. |
| ContextDefinitionInterface::setRequired | function | core/ |
Sets whether the data is required. |
| ContextDefinitionIsSatisfiedTest | class | core/ |
Tests Drupal\Core\Plugin\Context\ContextDefinition. |
| ContextDefinitionIsSatisfiedTest.php | file | core/ |
|
| ContextDefinitionIsSatisfiedTest::providerTestIsSatisfiedBy | function | core/ |
Provides test data for ::testIsSatisfiedBy(). |
| ContextDefinitionIsSatisfiedTest::setUp | function | core/ |
|
| ContextDefinitionIsSatisfiedTest::testIsSatisfiedBy | function | core/ |
Tests that context requirements is satisfied as expected. |
| ContextDefinitionTest | class | core/ |
Tests the ContextDefinition class. |
| ContextDefinitionTest | class | core/ |
Tests Drupal\Core\Plugin\Context\ContextDefinition. |
Pagination
- Previous page
- Page 284
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.