Search for definition
- Search 7.x for definition
- Search 9.5.x for definition
- Search 10.3.x for definition
- Search 11.x for definition
- Other projects
Title | Object type | File name | Summary |
---|---|---|---|
ContextDefinition::__construct | function | core/ |
Constructs a new context definition object. |
ContextDefinition::__sleep | function | core/ |
Implements magic __sleep() method. |
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/ |
@coversDefaultClass \Drupal\Core\Plugin\Context\ContextDefinition @group Plugin |
ContextDefinitionTest | class | core/ |
@coversDefaultClass \Drupal\Core\Annotation\ContextDefinition @group Plugin |
ContextDefinitionTest | class | core/ |
Tests the ContextDefinition class. |
ContextDefinitionTest.php | file | core/ |
|
ContextDefinitionTest.php | file | core/ |
|
ContextDefinitionTest.php | file | core/ |
|
ContextDefinitionTest::$modules | property | core/ |
Modules to enable. |
ContextDefinitionTest::$modules | property | core/ |
Modules to enable. |
ContextDefinitionTest::providerGetConstraint | function | core/ |
Data provider for testGetConstraint |
ContextDefinitionTest::providerGetDataDefinition | function | core/ |
Very simple data provider. |
ContextDefinitionTest::testConstraints | function | core/ |
Tests adding constraints via annotations. |
ContextDefinitionTest::testDefaultValue | function | core/ |
@covers ::getDefaultValue @covers ::setDefaultValue |
ContextDefinitionTest::testGetConstraint | function | core/ |
@dataProvider providerGetConstraint @covers ::getConstraint @uses \Drupal |
ContextDefinitionTest::testGetDataDefinition | function | core/ |
@dataProvider providerGetDataDefinition @covers ::getDataDefinition @uses \Drupal |
ContextDefinitionTest::testGetDataDefinitionInvalidType | function | core/ |
@dataProvider providerGetDataDefinition @covers ::getDataDefinition @uses \Drupal |
ContextDefinitionTest::testIsSatisfiedBy | function | core/ |
@covers ::isSatisfiedBy |
ContextHandler::filterPluginDefinitionsByContexts | function | core/ |
Determines plugins whose constraints are satisfied by a set of contexts. |
ContextHandler::getContextDefinitions | function | core/ |
Returns the context definitions associated with a plugin definition. |
ContextHandlerInterface::filterPluginDefinitionsByContexts | function | core/ |
Determines plugins whose constraints are satisfied by a set of contexts. |
ContextHandlerTest::providerTestFilterPluginDefinitionsByContexts | function | core/ |
Provides data for testFilterPluginDefinitionsByContexts(). |
ContextHandlerTest::testFilterPluginDefinitionsByContexts | function | core/ |
@covers ::filterPluginDefinitionsByContexts |
Pagination
- Previous page
- Page 7
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.