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[[api-linebreak]] |
| ContextDefinitionTest::testDefaultValue | function | core/ |
@covers ::getDefaultValue[[api-linebreak]] @covers ::setDefaultValue[[api-linebreak]] |
| ContextDefinitionTest::testEntityContextDefinitionAssert | function | core/ |
@covers ::__construct[[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]] |
| 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[[api-linebreak]] |
| ContextHandlerTest | class | core/ |
@coversDefaultClass \Drupal\Core\Plugin\Context\ContextHandler[[api-linebreak]] @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[[api-linebreak]] |
| ContextHandlerTest::testApplyContextMapping | function | core/ |
@covers ::applyContextMapping[[api-linebreak]] |
| ContextHandlerTest::testApplyContextMappingAlreadyApplied | function | core/ |
@covers ::applyContextMapping[[api-linebreak]] |
| ContextHandlerTest::testApplyContextMappingConfigurableAssigned | function | core/ |
@covers ::applyContextMapping[[api-linebreak]] |
| ContextHandlerTest::testApplyContextMappingConfigurableAssignedMiss | function | core/ |
@covers ::applyContextMapping[[api-linebreak]] |
| ContextHandlerTest::testApplyContextMappingMissingNotRequired | function | core/ |
@covers ::applyContextMapping[[api-linebreak]] |
| ContextHandlerTest::testApplyContextMappingMissingRequired | function | core/ |
@covers ::applyContextMapping[[api-linebreak]] |
| ContextHandlerTest::testApplyContextMappingNoValueNonRequired | function | core/ |
@covers ::applyContextMapping[[api-linebreak]] |
| ContextHandlerTest::testApplyContextMappingNoValueRequired | function | core/ |
@covers ::applyContextMapping[[api-linebreak]] |
| ContextHandlerTest::testCheckRequirements | function | core/ |
@covers ::checkRequirements[[api-linebreak]] |
| ContextHandlerTest::testFilterPluginDefinitionsByContexts | function | core/ |
@covers ::filterPluginDefinitionsByContexts[[api-linebreak]] |
| ContextHandlerTest::testGetMatchingContexts | function | core/ |
@covers ::getMatchingContexts[[api-linebreak]] |
| 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.