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 |
---|---|---|---|
ContextDefinition::getDescription | function | core/ |
Gets a human readable description. |
ContextDefinition::getLabel | function | core/ |
Gets a human readable label. |
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 | interface | core/ |
Interface to define definition objects in ContextInterface via TypedData. |
ContextDefinitionInterface | interface | core/ |
Interface used to define definition objects found in ContextInterface. |
ContextDefinitionInterface.php | file | core/ |
|
ContextDefinitionInterface.php | file | core/ |
|
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::getDataDefinition | function | core/ |
Returns the data definition of the defined context. |
ContextDefinitionInterface::getDataType | function | core/ |
Gets the data type needed by the context. |
ContextDefinitionInterface::getDefaultValue | function | core/ |
Gets the default value for this context definition. |
ContextDefinitionInterface::getDescription | function | core/ |
Gets a human readable description. |
ContextDefinitionInterface::getLabel | function | core/ |
Gets a human readable label. |
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/ |
@coversDefaultClass \Drupal\Core\Plugin\Context\ContextDefinition @group Plugin |
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/ |
@coversDefaultClass \Drupal\Core\Plugin\Context\ContextDefinition @group Plugin |
ContextDefinitionTest | class | core/ |
@coversDefaultClass \Drupal\Core\Annotation\ContextDefinition @group Plugin |
ContextDefinitionTest.php | file | core/ |
|
ContextDefinitionTest.php | file | core/ |
|
ContextDefinitionTest.php | file | core/ |
|
ContextDefinitionTest::$modules | property | core/ |
Modules to install. |
ContextDefinitionTest::$modules | property | core/ |
Modules to install. |
Pagination
- Previous page
- Page 9
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.