Search for context
- Search 7.x for context
- Search 9.5.x for context
- Search 8.9.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 |
---|---|---|---|
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/ |
|
CurrentUserContextTest::$modules | property | core/ |
Modules to install. |
CurrentUserContextTest::setUp | function | core/ |
|
CurrentUserContextTest::testGetAvailableContexts | function | core/ |
@covers ::getAvailableContexts |
DefaultMenuLinkTreeManipulatorsTest::$cacheContextManager | property | core/ |
Mock cache context manager. |
DefaultPluginManager::getCacheContexts | function | core/ |
The cache contexts associated with this object. |
DefaultPluginManagerTest::testGetCacheContexts | function | core/ |
@covers ::getCacheContexts |
DefaultsSectionStorage::deriveContextsFromRoute | function | core/ |
Derives the available plugin contexts from route values. |
DefaultsSectionStorage::getContextsDuringPreview | function | core/ |
Gets contexts for use during preview. |
DefaultsSectionStorage::setContext | function | core/ |
|
DefaultsSectionStorageTest::testGetContexts | function | core/ |
@covers ::getContexts |
DefaultsSectionStorageTest::testGetContextsDuringPreview | function | core/ |
@covers ::getContextsDuringPreview |
DiffFormatter::$leading_context_lines | property | core/ |
Number of leading context "lines" to preserve. |
DiffFormatter::$trailing_context_lines | property | core/ |
Number of trailing context "lines" to preserve. |
DiffFormatter::contextLine | function | core/ |
Creates a context line. |
DiffFormatter::_context | function | core/ |
|
DiffFormatter::_context | function | core/ |
|
DisplayBlockTest::testBlockContextualLinks | function | core/ |
Tests the contextual links on a Views block. |
DisplayTest::testPageContextualLinks | function | core/ |
Tests contextual links on Views page displays. |
DisplayTest::toggleContextualTriggerVisibility | function | core/ |
Toggles the visibility of a contextual trigger. |
DocParser::$context | property | core/ |
|
DocParserTest::testSyntaxErrorWithContextDescription | function | core/ |
@group DDC-78 |
Drupal\Core\Cache\Context\CacheContextsManager | service | 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.