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 |
---|---|---|---|
LazyContextRepository::$container | property | core/ |
The service container. |
LazyContextRepository::$contextProviderServiceIDs | property | core/ |
The set of available context providers service IDs. |
LazyContextRepository::$contexts | property | core/ |
The statically cached contexts. |
LazyContextRepository::getAvailableContexts | function | core/ |
Gets all available contexts for the purposes of configuration. |
LazyContextRepository::getRuntimeContexts | function | core/ |
Gets runtime context values for the given context IDs. |
LazyContextRepository::__construct | function | core/ |
Constructs a LazyContextRepository object. |
LazyContextRepositoryTest | class | core/ |
@coversDefaultClass \Drupal\Core\Plugin\Context\LazyContextRepository[[api-linebreak]] @group context |
LazyContextRepositoryTest.php | file | core/ |
|
LazyContextRepositoryTest::$container | property | core/ |
The container. |
LazyContextRepositoryTest::setUp | function | core/ |
|
LazyContextRepositoryTest::setupContextAndProvider | function | core/ |
Sets up contexts and context providers. |
LazyContextRepositoryTest::testGetAvailableContexts | function | core/ |
@covers ::getAvailableContexts[[api-linebreak]] |
LazyContextRepositoryTest::testGetRuntimeContextsSingle | function | core/ |
@covers ::getRuntimeContexts[[api-linebreak]] |
LazyContextRepositoryTest::testGetRuntimeMultipleContextProviders | function | core/ |
@covers ::getRuntimeContexts[[api-linebreak]] |
LazyContextRepositoryTest::testGetRuntimeMultipleContextsPerService | function | core/ |
@covers ::getRuntimeContexts[[api-linebreak]] |
LazyContextRepositoryTest::testGetRuntimeStaticCache | function | core/ |
@covers ::getRuntimeContexts[[api-linebreak]] |
LazyContextRepositoryTest::testInvalidContextId | function | core/ |
@covers ::getRuntimeContexts[[api-linebreak]] |
LinkCollection::$context | property | core/ |
The link context. |
LinkCollection::getContext | function | core/ |
Gets the LinkCollection's context object. |
LinkCollection::withContext | function | core/ |
Establishes a new context for a LinkCollection. |
LinkCollectionNormalizer::LINK_CONTEXT | constant | core/ |
The normalizer $context key name for the context object of the link. |
LocalActionDefault::getCacheContexts | function | core/ |
The cache contexts associated with this object. |
LocalActionDefaultTest::testGetTitleWithContext | function | core/ |
Tests the getTitle method with a translation context. |
LocalAwareRedirectResponseTrait::$requestContext | property | core/ |
The request context. |
LocalAwareRedirectResponseTrait::getRequestContext | function | core/ |
Returns the request context. |
LocalAwareRedirectResponseTrait::setRequestContext | function | core/ |
Sets the request context. |
LocaleImportFunctionalTest::getPoFileWithContext | function | core/ |
Helper function that returns a .po file with context. |
LocaleImportFunctionalTest::testLanguageContext | function | core/ |
Tests msgctxt context support. |
LocaleLookup::$context | property | core/ |
The msgctxt context. |
LOCALE_JS_OBJECT_CONTEXT | constant | core/ |
Regular expression to match an object containing a key 'context'. |
LocalStream::$context | property | core/ |
Stream context resource. |
LocalTaskDefault::getCacheContexts | function | core/ |
The cache contexts associated with this object. |
LocalTaskDefaultTest::testGetTitleWithContext | function | core/ |
@covers ::getTitle[[api-linebreak]] |
LoginLogoutMenuLink::getCacheContexts | function | core/ |
The cache contexts associated with this object. |
MailManagerTest::testMailInRenderContext | function | core/ |
Tests that mails are sent in a separate render context. |
media.links.contextual.yml | file | core/ |
core/modules/media/media.links.contextual.yml |
MediaCacheTagsTest::getAdditionalCacheContextsForEntity | function | core/ |
Returns the additional (non-standard) cache contexts for the tested entity. |
MediaContextualLinksTest | class | core/ |
Tests views contextual links on media items. |
MediaContextualLinksTest.php | file | core/ |
|
MediaContextualLinksTest::$defaultTheme | property | core/ |
The theme to install as the default for testing. |
MediaContextualLinksTest::$modules | property | core/ |
Modules to install. |
MediaContextualLinksTest::testMediaContextualLinks | function | core/ |
Tests contextual links. |
MediaEmbed::disableContextualLinks | function | core/ |
Disables Contextual Links for the embedded media by removing its property. |
MediaLibraryState::getCacheContexts | function | core/ |
The cache contexts associated with this object. |
MediaResourceTestBase::getExpectedCacheContexts | function | core/ |
The expected cache contexts for the GET/HEAD response of the test entity. |
MediaTranslationUITest::$defaultCacheContexts | property | core/ |
Default cache contexts expected on a non-translated entity. |
MenuActiveTrailsCacheContext | class | core/ |
Defines the MenuActiveTrailsCacheContext service. |
MenuActiveTrailsCacheContext.php | file | core/ |
|
MenuActiveTrailsCacheContext::getCacheableMetadata | function | core/ |
Gets the cacheability metadata for the context based on the parameter value. |
MenuActiveTrailsCacheContext::getContext | function | core/ |
Returns the string representation of the cache context. |
Pagination
- Previous page
- Page 22
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.