Search for all
| Title | Object type | File name | Summary |
|---|---|---|---|
| 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[[api-linebreak]] @group Plugin |
| ContextHandlerTest | class | core/ |
@coversDefaultClass \Drupal\Core\Plugin\Context\ContextHandler[[api-linebreak]] |
| ContextHandlerTest.php | file | core/ |
|
| ContextHandlerTest.php | file | core/ |
Contains \Drupal\Tests\Core\Plugin\ContextHandlerTest. |
| ContextHandlerTest::$contextHandler | property | core/ |
The context handler. |
| ContextHandlerTest::$modules | property | core/ |
Modules to enable. |
| 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/ |
|
| ContextInterface.php | file | core/ |
|
| ContextInterface::addCacheableDependency | function | core/ |
Adds a dependency on an object: merges its cacheability metadata. |
| ContextInterface::createFromContext | function | core/ |
Creates a new context with a different value. |
| ContextInterface::getConstraints | function | core/ |
Gets a list of validation constraints. |
| ContextInterface::getContextData | function | core/ |
Gets the context value as typed data object. |
| ContextInterface::getContextDefinition | function | core/ |
|
| ContextInterface::getContextDefinition | function | core/ |
Gets the provided definition that the context must conform to. |
| ContextInterface::getContextValue | function | core/ |
Gets the context value. |
| ContextInterface::hasContextValue | function | core/ |
Returns whether the context has a value. |
| ContextInterface::validate | function | core/ |
Validates the set context value. |
| ContextPluginTest | class | core/ |
Tests that contexts are properly set and working within plugins. |
| ContextPluginTest.php | file | core/ |
Pagination
- Previous page
- Page 305
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.