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 |
---|---|---|---|
ContextualLinksTest::testContextualLinksDestinationWithQuery | function | core/ |
Tests the contextual links destination with query. |
ContextualLinksTest::testContextualLinksOutsideLayout | function | core/ |
Tests that contextual links outside the layout are removed. |
ContextualLinksTest::testContextualLinksVisibility | function | core/ |
Tests the visibility of contextual links. |
ContextualLinksTest::testRevisionContextualLinks | function | core/ |
Tests the contextual links on revisions. |
ContextualTestHooks | class | core/ |
Hook implementations for contextual_test. |
ContextualTestHooks.php | file | core/ |
|
ContextualTestHooks::blockViewAlter | function | core/ |
Implements hook_block_view_alter(). |
ContextualTestHooks::contextualLinksViewAlter | function | core/ |
Implements hook_contextual_links_view_alter(). |
ContextualTestHooks::pageAttachmentsAlter | function | core/ |
Implements hook_page_attachments_alter(). |
ContextualUnitTest | class | core/ |
Tests edge cases for converting between contextual links and IDs. |
ContextualUnitTest.php | file | core/ |
|
ContextualUnitTest::$modules | property | core/ |
Modules to install. |
ContextualUnitTest::contextualLinksDataProvider | function | core/ |
Provides test cases 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. |
ContextualViewsHooks | class | core/ |
Hook implementations for contextual. |
ContextualViewsHooks.php | file | core/ |
|
ContextualViewsHooks::viewsDataAlter | function | core/ |
Implements hook_views_data_alter(). |
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/ |
|
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_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. |
Pagination
- Previous page
- Page 15
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.