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 |
---|---|---|---|
ContextHandlerTest.php | file | core/ |
|
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 |
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/ |
|
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/ |
|
ContextPluginTest::$modules | property | core/ |
Modules to enable. |
ContextPluginTest::testContext | function | core/ |
Tests basic context definition and value getters and setters. |
ContextProviderInterface | interface | core/ |
Defines an interface for providing plugin contexts. |
ContextProviderInterface.php | file | core/ |
|
ContextProviderInterface::getAvailableContexts | function | core/ |
Gets all available contexts for the purposes of configuration. |
ContextProviderInterface::getRuntimeContexts | function | core/ |
Gets runtime context values for the given context IDs. |
ContextProvidersPass | class | core/ |
Adds the context provider service IDs to the context manager. |
ContextProvidersPass.php | file | core/ |
|
ContextProvidersPass::process | function | core/ |
Passes the service IDs of all context providers to the context repository. |
ContextRepositoryInterface | interface | core/ |
Offers a global context repository. |
ContextRepositoryInterface.php | file | core/ |
|
ContextRepositoryInterface::getAvailableContexts | function | core/ |
Gets all available contexts for the purposes of configuration. |
ContextRepositoryInterface::getRuntimeContexts | function | core/ |
Gets runtime context values for the given context IDs. |
ContextTest | class | core/ |
@coversDefaultClass \Drupal\Core\Plugin\Context\Context @group Plugin |
ContextTest | class | core/ |
@coversDefaultClass \Drupal\Component\Plugin\Context\Context @group Plugin |
ContextTest.php | file | core/ |
Contains \Drupal\Tests\Core\Plugin\Context\ContextTest. |
Pagination
- Previous page
- Page 11
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.