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 |
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 |
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 |
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 |
|
DefaultsSectionStorageTest::testGetContexts |
function |
core/modules/layout_builder/tests/src/Kernel/DefaultsSectionStorageTest.php |
@covers ::getContexts |
DefaultsSectionStorageTest::testGetContextsDuringPreview |
function |
core/modules/layout_builder/tests/src/Kernel/DefaultsSectionStorageTest.php |
@covers ::getContextsDuringPreview |
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 |
Drupal\jsonapi\Context\FieldResolver |
service |
core/modules/jsonapi/jsonapi.services.yml |
|
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. |
DuplicateContextualLinksTest::testSameContextualLinks |
function |
core/modules/contextual/tests/src/FunctionalJavascript/DuplicateContextualLinksTest.php |
Tests the contextual links with same id. |
DynamicMenuLinkMock::getCacheContexts |
function |
core/tests/Drupal/Tests/Core/Menu/DynamicMenuLinkMock.php |
The cache contexts associated with this object. |
DynamicPageCacheSubscriber::$cacheContexts |
property |
core/modules/dynamic_page_cache/src/EventSubscriber/DynamicPageCacheSubscriber.php |
The default cache contexts to vary every cache item by. |
DynamicPageCacheSubscriber::$cacheContextsManager |
property |
core/modules/dynamic_page_cache/src/EventSubscriber/DynamicPageCacheSubscriber.php |
The cache contexts manager service. |
DynamicPageCacheTestController::htmlUncacheableContexts |
function |
core/modules/dynamic_page_cache/tests/dynamic_page_cache_test/src/DynamicPageCacheTestController.php |
A route returning a render array (with 'user' context, so uncacheable) |
DynamicPageCacheTestController::htmlWithCacheContexts |
function |
core/modules/dynamic_page_cache/tests/dynamic_page_cache_test/src/DynamicPageCacheTestController.php |
A route returning a render array (with cache contexts, so cacheable). |
EarlyRenderingControllerWrapperSubscriber::wrapControllerExecutionInRenderContext |
function |
core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php |
Wraps a controller execution in a render context. |
EditorResourceTestBase::getExpectedCacheContexts |
function |
core/modules/editor/tests/src/Functional/Rest/EditorResourceTestBase.php |
The expected cache contexts for the GET/HEAD response of the test entity. |
Entity::getContextDefinition |
function |
core/modules/views/src/Plugin/views/argument_validator/Entity.php |
Returns a context definition for this argument. |
EntityAdapterUnitTest::testSetContext |
function |
core/tests/Drupal/Tests/Core/Entity/TypedData/EntityAdapterUnitTest.php |
@covers ::setContext |
EntityBase::getCacheContexts |
function |
core/lib/Drupal/Core/Entity/EntityBase.php |
The cache contexts associated with this object. |
EntityCacheTagsTestBase::getAccessCacheContextsForEntity |
function |
core/modules/system/tests/src/Functional/Entity/EntityCacheTagsTestBase.php |
Returns the access cache contexts for the tested entity. |
EntityCacheTagsTestBase::getAdditionalCacheContextsForEntity |
function |
core/modules/system/tests/src/Functional/Entity/EntityCacheTagsTestBase.php |
Returns the additional (non-standard) cache contexts for the tested entity. |
EntityCacheTagsTestBase::getAdditionalCacheContextsForEntityListing |
function |
core/modules/system/tests/src/Functional/Entity/EntityCacheTagsTestBase.php |
Returns the additional cache tags for the tested entity's listing by type. |
EntityContext |
class |
core/lib/Drupal/Core/Plugin/Context/EntityContext.php |
Class to provide a specific entity context. |
EntityContext.php |
file |
core/lib/Drupal/Core/Plugin/Context/EntityContext.php |
|