Search for init
| Title | Object type | File name | Summary |
|---|---|---|---|
| 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[[api-linebreak]] @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[[api-linebreak]] @group Plugin |
| ContextDefinitionTest | class | core/ |
@coversDefaultClass \Drupal\Core\Annotation\ContextDefinition[[api-linebreak]] @group Plugin |
| 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[[api-linebreak]] @covers ::setDefaultValue[[api-linebreak]] |
| ContextDefinitionTest::testGetConstraint | function | core/ |
@dataProvider providerGetConstraint @covers ::getConstraint[[api-linebreak]] @uses \Drupal |
| ContextDefinitionTest::testGetDataDefinition | function | core/ |
@dataProvider providerGetDataDefinition @covers ::getDataDefinition[[api-linebreak]] @uses \Drupal |
| ContextDefinitionTest::testGetDataDefinitionInvalidType | function | core/ |
@dataProvider providerGetDataDefinition @covers ::getDataDefinition[[api-linebreak]] @uses \Drupal |
| ContextDefinitionTest::testIsSatisfiedBy | function | core/ |
@covers ::isSatisfiedBy[[api-linebreak]] |
| 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[[api-linebreak]] |
| ContextInterface::getContextDefinition | function | core/ |
|
| ContextInterface::getContextDefinition | function | core/ |
Gets the provided definition that the context must conform to. |
| ContextTest::$contextDefinition | property | core/ |
The mocked context definition object. |
| ContextualLinkDefaultTest::$pluginDefinition | property | core/ |
The used plugin definition. |
| ContextualLinkManager::processDefinition | function | core/ |
Performs extra processing on plugin definitions. |
Pagination
- Previous page
- Page 8
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.