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 |
---|---|---|---|
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/ |
|
ContextHandler::checkRequirements | function | core/ |
|
ContextHandler::filterPluginDefinitionsByContexts | function | core/ |
|
ContextHandler::getContextDefinitions | function | core/ |
Returns the context definitions associated with a plugin definition. |
ContextHandler::getMatchingContexts | function | core/ |
|
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/ |
|
ContextHandlerTest.php | file | core/ |
|
ContextHandlerTest::$contextHandler | property | core/ |
The context handler. |
ContextHandlerTest::$modules | property | core/ |
Modules to install. |
ContextHandlerTest::providerTestCheckRequirements | function | core/ |
Provides data for testCheckRequirements(). |
ContextHandlerTest::providerTestFilterPluginDefinitionsByContexts | function | core/ |
Provides data for testFilterPluginDefinitionsByContexts(). |
ContextHandlerTest::providerTestGetMatchingContexts | function | core/ |
Provides data for testGetMatchingContexts(). |
ContextHandlerTest::setUp | function | core/ |
|
ContextHandlerTest::testApplyContextMapping | function | core/ |
@covers ::applyContextMapping |
ContextHandlerTest::testApplyContextMapping | function | core/ |
@covers ::applyContextMapping |
ContextHandlerTest::testApplyContextMappingAlreadyApplied | function | core/ |
@covers ::applyContextMapping |
ContextHandlerTest::testApplyContextMappingConfigurableAssigned | function | core/ |
@covers ::applyContextMapping |
ContextHandlerTest::testApplyContextMappingConfigurableAssignedMiss | function | core/ |
@covers ::applyContextMapping |
ContextHandlerTest::testApplyContextMappingMissingNotRequired | function | core/ |
@covers ::applyContextMapping |
ContextHandlerTest::testApplyContextMappingMissingRequired | function | core/ |
@covers ::applyContextMapping |
ContextHandlerTest::testApplyContextMappingNoValueNonRequired | function | core/ |
@covers ::applyContextMapping |
ContextHandlerTest::testApplyContextMappingNoValueRequired | function | core/ |
@covers ::applyContextMapping |
ContextHandlerTest::testCheckRequirements | function | core/ |
@covers ::checkRequirements |
ContextHandlerTest::testFilterPluginDefinitionsByContexts | function | core/ |
@covers ::filterPluginDefinitionsByContexts |
ContextHandlerTest::testGetMatchingContexts | function | core/ |
@covers ::getMatchingContexts |
ContextInterface | interface | core/ |
Context data and definitions for plugins supporting caching and return docs. |
ContextInterface | interface | core/ |
Provides data and definitions for plugins during runtime and administration. |
ContextInterface.php | file | core/ |
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.