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 |
---|---|---|---|
ContextualUnitTest | class | core/ |
Tests edge cases for converting between contextual links and IDs. |
ContextualUnitTest.php | file | core/ |
|
ContextualUnitTest::$modules | property | core/ |
Modules to enable. |
ContextualUnitTest::contextualLinksDataProvider | function | core/ |
Provides testcases for both test functions. |
ContextualUnitTest::testContextualIdToLinks | function | core/ |
Tests the conversion from contextual ID to links. |
ContextualUnitTest::testContextualLinksToId | function | core/ |
Tests the conversion from contextual links to IDs. |
ContextualValidatorInterface | interface | core/ |
Extends the contextual validator validate method by a new parameter. |
ContextualValidatorInterface.php | file | core/ |
|
ContextualValidatorInterface::validate | function | core/ |
Validates a value against a constraint or a list of constraints. |
contextual_contextual_links_view_alter | function | core/ |
Implements hook_contextual_links_view_alter(). |
contextual_help | function | core/ |
Implements hook_help(). |
contextual_page_attachments | function | core/ |
Implements hook_page_attachments(). |
contextual_preprocess | function | core/ |
Implements hook_preprocess(). |
contextual_removed_post_updates | function | core/ |
Implements hook_removed_post_updates(). |
contextual_test.info.yml | file | core/ |
core/modules/contextual/tests/modules/contextual_test/contextual_test.info.yml |
contextual_test.links.contextual.yml | file | core/ |
core/modules/contextual/tests/modules/contextual_test/contextual_test.links.contextual.yml |
contextual_test.module | file | core/ |
Provides test contextual link on blocks. |
contextual_test.routing.yml | file | core/ |
core/modules/contextual/tests/modules/contextual_test/contextual_test.routing.yml |
contextual_test_block_view_alter | function | core/ |
Implements hook_block_view_alter(). |
contextual_test_contextual_links_view_alter | function | core/ |
Implements hook_contextual_links_view_alter(). |
contextual_test_page_attachments_alter | function | core/ |
Implements hook_page_attachments_alter(). |
contextual_toolbar | function | core/ |
Implements hook_toolbar(). |
contextual_views_data_alter | function | core/ |
Implements hook_views_data_alter(). |
CookieCacheContextTest | class | core/ |
@coversDefaultClass \Drupal\Core\Cache\Context\CookiesCacheContext @group Cache |
CookieCacheContextTest.php | file | core/ |
|
CookieCacheContextTest::providerTestGetContext | function | core/ |
Provides a list of cookies and expected cache contexts. |
CookieCacheContextTest::testGetContext | function | core/ |
@covers ::getContext |
CookiesCacheContext | class | core/ |
Defines the CookiesCacheContext service, for "per cookie" caching. |
CookiesCacheContext.php | file | core/ |
|
CookiesCacheContext::getCacheableMetadata | function | core/ |
Gets the cacheability metadata for the context based on the parameter value. |
CookiesCacheContext::getContext | function | core/ |
Returns the string representation of the cache context. |
CookiesCacheContext::getLabel | function | core/ |
Returns the label of the cache context. |
Current::getCacheContexts | function | core/ |
The cache contexts associated with this object. |
CurrentLanguageContext | class | core/ |
Sets the current language as a context. |
CurrentLanguageContext.php | file | core/ |
|
CurrentLanguageContext::$languageManager | property | core/ |
The language manager. |
CurrentLanguageContext::getAvailableContexts | function | core/ |
Gets all available contexts for the purposes of configuration. |
CurrentLanguageContext::getRuntimeContexts | function | core/ |
Gets runtime context values for the given context IDs. |
CurrentLanguageContext::__construct | function | core/ |
Constructs a new CurrentLanguageContext. |
CurrentThemeCondition::getCacheContexts | function | core/ |
|
CurrentUser::getCacheContexts | function | core/ |
The cache contexts associated with this object. |
CurrentUserContext | class | core/ |
Sets the current user as a context. |
CurrentUserContext.php | file | core/ |
|
CurrentUserContext::$account | property | core/ |
The current user. |
CurrentUserContext::$userStorage | property | core/ |
The user storage. |
CurrentUserContext::getAvailableContexts | function | core/ |
Gets all available contexts for the purposes of configuration. |
CurrentUserContext::getRuntimeContexts | function | core/ |
Gets runtime context values for the given context IDs. |
CurrentUserContext::__construct | function | core/ |
Constructs a new CurrentUserContext. |
CurrentUserContextTest | class | core/ |
@coversDefaultClass \Drupal\user\ContextProvider\CurrentUserContext |
CurrentUserContextTest.php | file | core/ |
Pagination
- Previous page
- Page 16
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.