Search for context
- Search 7.x for context
- Search 8.9.x for context
- Search 10.3.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 |
---|---|---|---|
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 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::testCreateWithEntityDataType | function | core/ |
@covers ::create |
ContextDefinitionTest::testDefaultValue | function | core/ |
@covers ::getDefaultValue @covers ::setDefaultValue |
ContextDefinitionTest::testEntityContextDefinitionAssert | function | core/ |
@covers ::__construct |
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 |
ContextException | class | core/ |
An exception class to be thrown for context plugin exceptions. |
ContextException.php | file | core/ |
|
ContextHandler | class | core/ |
Provides methods to handle sets of contexts. |
ContextHandler.php | file | core/ |
|
ContextHandler::applyContextMapping | function | core/ |
Prepares a plugin for evaluation. |
ContextHandler::checkRequirements | function | core/ |
Checks a set of requirements against a set of contexts. |
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. |
ContextHandler::getMatchingContexts | function | core/ |
Determines which contexts satisfy the constraints of a given definition. |
ContextHandlerInterface | interface | core/ |
Provides an interface for handling sets of contexts. |
ContextHandlerInterface.php | file | core/ |
|
ContextHandlerInterface::applyContextMapping | function | core/ |
Prepares a plugin for evaluation. |
ContextHandlerInterface::checkRequirements | function | core/ |
Checks a set of requirements against a set of contexts. |
ContextHandlerInterface::filterPluginDefinitionsByContexts | function | core/ |
Determines plugins whose constraints are satisfied by a set of contexts. |
ContextHandlerInterface::getMatchingContexts | function | core/ |
Determines which contexts satisfy the constraints of a given definition. |
ContextHandlerTest | class | core/ |
@coversDefaultClass \Drupal\Core\Plugin\Context\ContextHandler |
ContextHandlerTest | class | core/ |
@coversDefaultClass \Drupal\Core\Plugin\Context\ContextHandler @group Plugin |
ContextHandlerTest.php | file | core/ |
Contains \Drupal\Tests\Core\Plugin\ContextHandlerTest. |
Pagination
- Previous page
- Page 10
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.