| LazyContextRepository::$contextProviderServiceIDs |
property |
core/lib/Drupal/Core/Plugin/Context/LazyContextRepository.php |
The set of available context providers service IDs. |
| LazyContextRepository::$contexts |
property |
core/lib/Drupal/Core/Plugin/Context/LazyContextRepository.php |
The statically cached contexts. |
| LazyContextRepository::getAvailableContexts |
function |
core/lib/Drupal/Core/Plugin/Context/LazyContextRepository.php |
Gets all available contexts for the purposes of configuration. |
| LazyContextRepository::getRuntimeContexts |
function |
core/lib/Drupal/Core/Plugin/Context/LazyContextRepository.php |
Gets runtime context values for the given context IDs. |
| LazyContextRepository::__construct |
function |
core/lib/Drupal/Core/Plugin/Context/LazyContextRepository.php |
Constructs a LazyContextRepository object. |
| LazyContextRepositoryTest |
class |
core/tests/Drupal/Tests/Core/Plugin/Context/LazyContextRepositoryTest.php |
Tests Drupal\Core\Plugin\Context\LazyContextRepository. |
| LazyContextRepositoryTest.php |
file |
core/tests/Drupal/Tests/Core/Plugin/Context/LazyContextRepositoryTest.php |
|
| LazyContextRepositoryTest::$container |
property |
core/tests/Drupal/Tests/Core/Plugin/Context/LazyContextRepositoryTest.php |
The container. |
| LazyContextRepositoryTest::setUp |
function |
core/tests/Drupal/Tests/Core/Plugin/Context/LazyContextRepositoryTest.php |
|
| LazyContextRepositoryTest::setupContextAndProvider |
function |
core/tests/Drupal/Tests/Core/Plugin/Context/LazyContextRepositoryTest.php |
Sets up contexts and context providers. |
| LazyContextRepositoryTest::testGetAvailableContexts |
function |
core/tests/Drupal/Tests/Core/Plugin/Context/LazyContextRepositoryTest.php |
Tests get available contexts. |
| LazyContextRepositoryTest::testGetRuntimeContextsSingle |
function |
core/tests/Drupal/Tests/Core/Plugin/Context/LazyContextRepositoryTest.php |
Tests get runtime contexts single. |
| LazyContextRepositoryTest::testGetRuntimeMultipleContextProviders |
function |
core/tests/Drupal/Tests/Core/Plugin/Context/LazyContextRepositoryTest.php |
Tests get runtime multiple context providers. |
| LazyContextRepositoryTest::testGetRuntimeMultipleContextsPerService |
function |
core/tests/Drupal/Tests/Core/Plugin/Context/LazyContextRepositoryTest.php |
Tests get runtime multiple contexts per service. |
| LazyContextRepositoryTest::testGetRuntimeStaticCache |
function |
core/tests/Drupal/Tests/Core/Plugin/Context/LazyContextRepositoryTest.php |
Tests get runtime static cache. |
| LazyContextRepositoryTest::testInvalidContextId |
function |
core/tests/Drupal/Tests/Core/Plugin/Context/LazyContextRepositoryTest.php |
Tests invalid context id. |
| LinkCollection::$context |
property |
core/modules/jsonapi/src/JsonApiResource/LinkCollection.php |
The link context. |
| LinkCollection::getContext |
function |
core/modules/jsonapi/src/JsonApiResource/LinkCollection.php |
Gets the LinkCollection's context object. |
| LinkCollection::withContext |
function |
core/modules/jsonapi/src/JsonApiResource/LinkCollection.php |
Establishes a new context for a LinkCollection. |
| LinkCollectionNormalizer::LINK_CONTEXT |
constant |
core/modules/jsonapi/src/Normalizer/LinkCollectionNormalizer.php |
The normalizer $context key name for the context object of the link. |
| LocalActionDefault::getCacheContexts |
function |
core/lib/Drupal/Core/Menu/LocalActionDefault.php |
The cache contexts associated with this object. |
| LocalActionDefaultTest::testGetTitleWithContext |
function |
core/tests/Drupal/Tests/Core/Menu/LocalActionDefaultTest.php |
Tests the getTitle method with a translation context. |
| LocalAwareRedirectResponseTrait::$requestContext |
property |
core/lib/Drupal/Core/Routing/LocalAwareRedirectResponseTrait.php |
The request context. |
| LocalAwareRedirectResponseTrait::getRequestContext |
function |
core/lib/Drupal/Core/Routing/LocalAwareRedirectResponseTrait.php |
Returns the request context. |
| LocalAwareRedirectResponseTrait::setRequestContext |
function |
core/lib/Drupal/Core/Routing/LocalAwareRedirectResponseTrait.php |
Sets the request context. |
| LocaleImportFunctionalTest::getPoFileWithContext |
function |
core/modules/locale/tests/src/Functional/LocaleImportFunctionalTest.php |
Helper function that returns a .po file with context. |
| LocaleImportFunctionalTest::testLanguageContext |
function |
core/modules/locale/tests/src/Functional/LocaleImportFunctionalTest.php |
Tests msgctxt context support. |
| LocaleLookup::$context |
property |
core/modules/locale/src/LocaleLookup.php |
The msgctxt context. |
| LOCALE_JS_OBJECT_CONTEXT |
constant |
core/modules/locale/locale.module |
Regular expression to match an object containing a key 'context'. |
| LocalStream::$context |
property |
core/lib/Drupal/Core/StreamWrapper/LocalStream.php |
Stream context resource. |
| LocalTaskDefault::getCacheContexts |
function |
core/lib/Drupal/Core/Menu/LocalTaskDefault.php |
The cache contexts associated with this object. |
| LocalTaskDefaultTest::testGetTitleWithContext |
function |
core/tests/Drupal/Tests/Core/Menu/LocalTaskDefaultTest.php |
Tests get title with context. |
| LoginLogoutMenuLink::getCacheContexts |
function |
core/modules/user/src/Plugin/Menu/LoginLogoutMenuLink.php |
The cache contexts associated with this object. |
| MailManagerTest::testMailInRenderContext |
function |
core/tests/Drupal/Tests/Core/Mail/MailManagerTest.php |
Tests that mails are sent in a separate render context. |
| media.links.contextual.yml |
file |
core/modules/media/media.links.contextual.yml |
core/modules/media/media.links.contextual.yml |
| MediaCacheTagsTest::getAdditionalCacheContextsForEntity |
function |
core/modules/media/tests/src/Functional/MediaCacheTagsTest.php |
Returns the additional (non-standard) cache contexts for the tested entity. |
| MediaContextualLinksTest |
class |
core/modules/media/tests/src/Functional/MediaContextualLinksTest.php |
Tests views contextual links on media items. |
| MediaContextualLinksTest.php |
file |
core/modules/media/tests/src/Functional/MediaContextualLinksTest.php |
|
| MediaContextualLinksTest::$defaultTheme |
property |
core/modules/media/tests/src/Functional/MediaContextualLinksTest.php |
The theme to install as the default for testing. |
| MediaContextualLinksTest::$modules |
property |
core/modules/media/tests/src/Functional/MediaContextualLinksTest.php |
Modules to install. |
| MediaContextualLinksTest::testMediaContextualLinks |
function |
core/modules/media/tests/src/Functional/MediaContextualLinksTest.php |
Tests contextual links. |
| MediaEmbed::disableContextualLinks |
function |
core/modules/media/src/Plugin/Filter/MediaEmbed.php |
Disables Contextual Links for the embedded media by removing its property. |
| MediaLibraryState::getCacheContexts |
function |
core/modules/media_library/src/MediaLibraryState.php |
The cache contexts associated with this object. |
| MediaResourceTestBase::getExpectedCacheContexts |
function |
core/modules/media/tests/src/Functional/Rest/MediaResourceTestBase.php |
The expected cache contexts for the GET/HEAD response of the test entity. |
| MediaTranslationUITest::$defaultCacheContexts |
property |
core/modules/media/tests/src/Functional/MediaTranslationUITest.php |
Default cache contexts expected on a non-translated entity. |
| MenuActiveTrailsCacheContext |
class |
core/lib/Drupal/Core/Cache/Context/MenuActiveTrailsCacheContext.php |
Defines the MenuActiveTrailsCacheContext service. |
| MenuActiveTrailsCacheContext.php |
file |
core/lib/Drupal/Core/Cache/Context/MenuActiveTrailsCacheContext.php |
|
| MenuActiveTrailsCacheContext::getCacheableMetadata |
function |
core/lib/Drupal/Core/Cache/Context/MenuActiveTrailsCacheContext.php |
Gets cacheability metadata for the context based on the parameter value. |
| MenuActiveTrailsCacheContext::getContext |
function |
core/lib/Drupal/Core/Cache/Context/MenuActiveTrailsCacheContext.php |
Returns the string representation of the cache context. |
| MenuActiveTrailsCacheContext::getLabel |
function |
core/lib/Drupal/Core/Cache/Context/MenuActiveTrailsCacheContext.php |
Returns the label of the cache context. |