Search for context
- Search 7.x for context
- Search 9.5.x for context
- Search 8.9.x for context
- Search 10.3.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 |
---|---|---|---|
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 install. |
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. |
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[[api-linebreak]] @group Plugin |
ContextTest | class | core/ |
Tests Drupal\Component\Plugin\Context\Context. |
ContextTest.php | file | core/ |
|
ContextTest.php | file | core/ |
|
ContextTest::$contextDefinition | property | core/ |
The mocked context definition object. |
ContextTest::$typedData | property | core/ |
The mocked Typed Data object. |
ContextTest::$typedDataManager | property | core/ |
The mocked Typed Data manager. |
ContextTest::providerGetContextValue | function | core/ |
Data provider for testGetContextValue. |
ContextTest::providerHasContextValue | function | core/ |
Data provider for testHasContextValue. |
ContextTest::setUp | function | core/ |
|
ContextTest::setUpDefaultValue | function | core/ |
Set up mocks for the getDefaultValue() method call. |
ContextTest::testDefaultDataValue | function | core/ |
@covers ::getContextData[[api-linebreak]] |
ContextTest::testDefaultValue | function | core/ |
@covers ::getContextValue[[api-linebreak]] |
ContextTest::testDefaultValue | function | core/ |
@legacy-covers ::getContextValue |
ContextTest::testGetContextValue | function | core/ |
@legacy-covers ::getContextValue |
ContextTest::testHasContextValue | function | core/ |
@legacy-covers ::hasContextValue |
ContextTest::testNullDataValue | function | core/ |
@covers ::getContextData[[api-linebreak]] |
ContextTest::testSetContextValueCacheableDependency | function | core/ |
@covers ::setContextValue[[api-linebreak]] |
ContextTest::testSetContextValueTypedData | function | core/ |
@covers ::setContextValue[[api-linebreak]] |
ContextTypedDataTest | class | core/ |
Tests that contexts work properly with the typed data manager. |
ContextTypedDataTest.php | file | core/ |
|
ContextTypedDataTest::providerHasContextValue | function | core/ |
Data provider for testHasContextValue. |
ContextTypedDataTest::testGetContextValue | function | core/ |
Tests that getting a context value does not throw fatal errors. |
ContextTypedDataTest::testHasContextValue | function | core/ |
@covers ::hasContextValue[[api-linebreak]] @dataProvider providerHasContextValue |
ContextTypedDataTest::testSerialize | function | core/ |
Tests that contexts can be serialized. |
contextual.api.php | file | core/ |
Hooks provided by Contextual module. |
contextual.icons.theme.css | file | core/ |
Styling for contextual module icons. |
contextual.icons.theme.css | file | core/ |
Styling for contextual module icons. |
contextual.icons.theme.pcss.css | file | core/ |
Styling for contextual module icons. |
contextual.info.yml | file | core/ |
core/modules/contextual/contextual.info.yml |
contextual.libraries.yml | file | core/ |
core/modules/contextual/contextual.libraries.yml |
contextual.module | file | core/ |
|
contextual.module.css | file | core/ |
Generic base styles for contextual module. |
contextual.module.css | file | core/ |
Generic base styles for contextual module. |
contextual.overview.html.twig | file | core/ |
--- label: 'Using contextual links' related: - core.ui_components - block.overview --- <h2>{% trans %}Goal{% endtrans %}</h2> <p>{% trans %}Use contextual links to access administrative tasks without navigating the… |
contextual.permissions.yml | file | core/ |
core/modules/contextual/contextual.permissions.yml |
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.