CookieCacheContextTest::providerTestGetContext |
function |
core/tests/Drupal/Tests/Core/Cache/Context/CookieCacheContextTest.php |
Provides a list of cookies and expected cache contexts. |
CookieCacheContextTest::testGetContext |
function |
core/tests/Drupal/Tests/Core/Cache/Context/CookieCacheContextTest.php |
@covers ::getContext[[api-linebreak]] |
CookiesCacheContext |
class |
core/lib/Drupal/Core/Cache/Context/CookiesCacheContext.php |
Defines the CookiesCacheContext service, for "per cookie" caching. |
CookiesCacheContext.php |
file |
core/lib/Drupal/Core/Cache/Context/CookiesCacheContext.php |
|
CookiesCacheContext::getCacheableMetadata |
function |
core/lib/Drupal/Core/Cache/Context/CookiesCacheContext.php |
Gets cacheability metadata for the context based on the parameter value. |
CookiesCacheContext::getContext |
function |
core/lib/Drupal/Core/Cache/Context/CookiesCacheContext.php |
Returns the string representation of the cache context. |
CookiesCacheContext::getLabel |
function |
core/lib/Drupal/Core/Cache/Context/CookiesCacheContext.php |
Returns the label of the cache context. |
Current::getCacheContexts |
function |
core/modules/user/src/Plugin/views/filter/Current.php |
The cache contexts associated with this object. |
CurrentLanguageContext |
class |
core/lib/Drupal/Core/Language/ContextProvider/CurrentLanguageContext.php |
Sets the current language as a context. |
CurrentLanguageContext.php |
file |
core/lib/Drupal/Core/Language/ContextProvider/CurrentLanguageContext.php |
|
CurrentLanguageContext::$languageManager |
property |
core/lib/Drupal/Core/Language/ContextProvider/CurrentLanguageContext.php |
The language manager. |
CurrentLanguageContext::getAvailableContexts |
function |
core/lib/Drupal/Core/Language/ContextProvider/CurrentLanguageContext.php |
Gets all available contexts for the purposes of configuration. |
CurrentLanguageContext::getRuntimeContexts |
function |
core/lib/Drupal/Core/Language/ContextProvider/CurrentLanguageContext.php |
Gets runtime context values for the given context IDs. |
CurrentLanguageContext::__construct |
function |
core/lib/Drupal/Core/Language/ContextProvider/CurrentLanguageContext.php |
Constructs a new CurrentLanguageContext. |
CurrentThemeCondition::getCacheContexts |
function |
core/modules/system/src/Plugin/Condition/CurrentThemeCondition.php |
|
CurrentUser::getCacheContexts |
function |
core/modules/user/src/Plugin/views/argument_default/CurrentUser.php |
The cache contexts associated with this object. |
CurrentUserContext |
class |
core/modules/user/src/ContextProvider/CurrentUserContext.php |
Sets the current user as a context. |
CurrentUserContext.php |
file |
core/modules/user/src/ContextProvider/CurrentUserContext.php |
|
CurrentUserContext::$account |
property |
core/modules/user/src/ContextProvider/CurrentUserContext.php |
The current user. |
CurrentUserContext::$userStorage |
property |
core/modules/user/src/ContextProvider/CurrentUserContext.php |
The user storage. |
CurrentUserContext::getAvailableContexts |
function |
core/modules/user/src/ContextProvider/CurrentUserContext.php |
Gets all available contexts for the purposes of configuration. |
CurrentUserContext::getRuntimeContexts |
function |
core/modules/user/src/ContextProvider/CurrentUserContext.php |
Gets runtime context values for the given context IDs. |
CurrentUserContext::__construct |
function |
core/modules/user/src/ContextProvider/CurrentUserContext.php |
Constructs a new CurrentUserContext. |
CurrentUserContextTest |
class |
core/modules/user/tests/src/Kernel/ContextProvider/CurrentUserContextTest.php |
@coversDefaultClass \Drupal\user\ContextProvider\CurrentUserContext[[api-linebreak]] |
CurrentUserContextTest.php |
file |
core/modules/user/tests/src/Kernel/ContextProvider/CurrentUserContextTest.php |
|
CurrentUserContextTest::$modules |
property |
core/modules/user/tests/src/Kernel/ContextProvider/CurrentUserContextTest.php |
Modules to install. |
CurrentUserContextTest::setUp |
function |
core/modules/user/tests/src/Kernel/ContextProvider/CurrentUserContextTest.php |
|
CurrentUserContextTest::testGetAvailableContexts |
function |
core/modules/user/tests/src/Kernel/ContextProvider/CurrentUserContextTest.php |
@covers ::getAvailableContexts[[api-linebreak]] |
DefaultMenuLinkTreeManipulatorsTest::$cacheContextManager |
property |
core/tests/Drupal/Tests/Core/Menu/DefaultMenuLinkTreeManipulatorsTest.php |
Mock cache context manager. |
DefaultPluginManager::getCacheContexts |
function |
core/lib/Drupal/Core/Plugin/DefaultPluginManager.php |
The cache contexts associated with this object. |
DefaultPluginManagerTest::testGetCacheContexts |
function |
core/tests/Drupal/Tests/Core/Plugin/DefaultPluginManagerTest.php |
@covers ::getCacheContexts[[api-linebreak]] |
DefaultsSectionStorage::deriveContextsFromRoute |
function |
core/modules/layout_builder/src/Plugin/SectionStorage/DefaultsSectionStorage.php |
Derives the available plugin contexts from route values. |
DefaultsSectionStorage::getContextsDuringPreview |
function |
core/modules/layout_builder/src/Plugin/SectionStorage/DefaultsSectionStorage.php |
Gets contexts for use during preview. |
DefaultsSectionStorage::setContext |
function |
core/modules/layout_builder/src/Plugin/SectionStorage/DefaultsSectionStorage.php |
Set a context on this plugin. |
DefaultsSectionStorageTest::testGetContexts |
function |
core/modules/layout_builder/tests/src/Kernel/DefaultsSectionStorageTest.php |
@covers ::getContexts[[api-linebreak]] |
DefaultsSectionStorageTest::testGetContextsDuringPreview |
function |
core/modules/layout_builder/tests/src/Kernel/DefaultsSectionStorageTest.php |
@covers ::getContextsDuringPreview[[api-linebreak]] |
DiffFormatter::$leading_context_lines |
property |
core/lib/Drupal/Component/Diff/DiffFormatter.php |
Number of leading context "lines" to preserve. |
DiffFormatter::$trailing_context_lines |
property |
core/lib/Drupal/Component/Diff/DiffFormatter.php |
Number of trailing context "lines" to preserve. |
DiffFormatter::contextLine |
function |
core/lib/Drupal/Core/Diff/DiffFormatter.php |
Creates a context line. |
DiffFormatter::_context |
function |
core/lib/Drupal/Core/Diff/DiffFormatter.php |
|
DiffFormatter::_context |
function |
core/lib/Drupal/Component/Diff/DiffFormatter.php |
|
DisplayBlockTest::testBlockContextualLinks |
function |
core/modules/block/tests/src/Functional/Views/DisplayBlockTest.php |
Tests the contextual links on a Views block. |
DisplayTest::testPageContextualLinks |
function |
core/modules/views_ui/tests/src/FunctionalJavascript/DisplayTest.php |
Tests contextual links on Views page displays. |
DisplayTest::toggleContextualTriggerVisibility |
function |
core/modules/views_ui/tests/src/FunctionalJavascript/DisplayTest.php |
Toggles the visibility of a contextual trigger. |
DocParser::$context |
property |
core/lib/Drupal/Component/Annotation/Doctrine/DocParser.php |
|
DocParserTest::testSyntaxErrorWithContextDescription |
function |
core/tests/Drupal/Tests/Component/Annotation/Doctrine/DocParserTest.php |
@group DDC-78 |
DuplicateContextualLinksTest |
class |
core/modules/contextual/tests/src/FunctionalJavascript/DuplicateContextualLinksTest.php |
Tests the UI for correct contextual links. |
DuplicateContextualLinksTest.php |
file |
core/modules/contextual/tests/src/FunctionalJavascript/DuplicateContextualLinksTest.php |
|
DuplicateContextualLinksTest::$defaultTheme |
property |
core/modules/contextual/tests/src/FunctionalJavascript/DuplicateContextualLinksTest.php |
The theme to install as the default for testing. |
DuplicateContextualLinksTest::$modules |
property |
core/modules/contextual/tests/src/FunctionalJavascript/DuplicateContextualLinksTest.php |
Modules to install. |