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 |
---|---|---|---|
Drupal\Core\Menu\ContextualLinkManagerInterface | service | core/ |
|
Drupal\Core\Plugin\Context\ContextHandlerInterface | service | core/ |
|
Drupal\Core\Plugin\Context\ContextRepositoryInterface | service | core/ |
|
Drupal\Core\Routing\AdminContext | service | core/ |
|
Drupal\Core\Routing\RequestContext | service | core/ |
|
Drupal\jsonapi\Context\FieldResolver | service | core/ |
|
DuplicateContextualLinksTest | class | core/ |
Tests the UI for correct contextual links. |
DuplicateContextualLinksTest.php | file | core/ |
|
DuplicateContextualLinksTest::$defaultTheme | property | core/ |
The theme to install as the default for testing. |
DuplicateContextualLinksTest::$modules | property | core/ |
Modules to install. |
DuplicateContextualLinksTest::testSameContextualLinks | function | core/ |
Tests the contextual links with same id. |
DynamicMenuLinkMock::getCacheContexts | function | core/ |
The cache contexts associated with this object. |
DynamicPageCacheSubscriber::$cacheContexts | property | core/ |
The default cache contexts to vary every cache item by. |
DynamicPageCacheSubscriber::$cacheContextsManager | property | core/ |
The cache contexts manager service. |
DynamicPageCacheTestController::htmlUncacheableContexts | function | core/ |
A route returning a render array (with 'user' context, so uncacheable) |
DynamicPageCacheTestController::htmlWithCacheContexts | function | core/ |
A route returning a render array (with cache contexts, so cacheable). |
EarlyRenderingControllerWrapperSubscriber::wrapControllerExecutionInRenderContext | function | core/ |
Wraps a controller execution in a render context. |
EditorResourceTestBase::getExpectedCacheContexts | function | core/ |
The expected cache contexts for the GET/HEAD response of the test entity. |
Entity::getContextDefinition | function | core/ |
Returns a context definition for this argument. |
EntityAdapterUnitTest::testSetContext | function | core/ |
@covers ::setContext |
EntityBase::getCacheContexts | function | core/ |
The cache contexts associated with this object. |
EntityCacheTagsTestBase::getAccessCacheContextsForEntity | function | core/ |
Returns the access cache contexts for the tested entity. |
EntityCacheTagsTestBase::getAdditionalCacheContextsForEntity | function | core/ |
Returns the additional (non-standard) cache contexts for the tested entity. |
EntityCacheTagsTestBase::getAdditionalCacheContextsForEntityListing | function | core/ |
Returns the additional cache tags for the tested entity's listing by type. |
EntityContext | class | core/ |
Class to provide a specific entity context. |
EntityContext.php | file | core/ |
|
EntityContext::fromEntity | function | core/ |
Gets a context object from an entity. |
EntityContext::fromEntityType | function | core/ |
Gets a context from an entity type. |
EntityContext::fromEntityTypeId | function | core/ |
Gets a context from an entity type ID. |
EntityContextDefinition | class | core/ |
Defines a class to provide entity context definitions. |
EntityContextDefinition.php | file | core/ |
|
EntityContextDefinition::fromEntity | function | core/ |
Creates a context definition from a given entity object. |
EntityContextDefinition::fromEntityType | function | core/ |
Creates a context definition from a given entity type. |
EntityContextDefinition::fromEntityTypeId | function | core/ |
Creates a context definition from a given entity type ID. |
EntityContextDefinition::getConstraintObjects | function | core/ |
Extracts an array of constraints for a context definition object. |
EntityContextDefinition::getEntityTypeId | function | core/ |
Returns the entity type ID of this context. |
EntityContextDefinition::getSampleValues | function | core/ |
Returns typed data objects representing this context definition. |
EntityContextDefinition::__construct | function | core/ |
Constructs a new context definition object. |
EntityContextDefinitionIsSatisfiedTest | class | core/ |
@coversDefaultClass \Drupal\Core\Plugin\Context\EntityContextDefinition @group Plugin |
EntityContextDefinitionIsSatisfiedTest.php | file | core/ |
|
EntityContextDefinitionIsSatisfiedTest::$entityTypeBundleInfo | property | core/ |
The entity type bundle info. |
EntityContextDefinitionIsSatisfiedTest::$entityTypeManager | property | core/ |
The entity type manager. |
EntityContextDefinitionIsSatisfiedTest::assertRequirementIsSatisfied | function | core/ |
Asserts that the requirement is satisfied as expected. |
EntityContextDefinitionIsSatisfiedTest::providerTestIsSatisfiedBy | function | core/ |
Provides test data for ::testIsSatisfiedBy(). |
EntityContextDefinitionIsSatisfiedTest::providerTestIsSatisfiedByGenerateBundledEntity | function | core/ |
Provides test data for ::testIsSatisfiedByGenerateBundledEntity(). |
EntityContextDefinitionIsSatisfiedTest::providerTestIsSatisfiedByPassBundledEntity | function | core/ |
Provides test data for ::testIsSatisfiedByPassBundledEntity(). |
EntityContextDefinitionIsSatisfiedTest::setUp | function | core/ |
|
EntityContextDefinitionIsSatisfiedTest::testIsSatisfiedBy | function | core/ |
@covers ::isSatisfiedBy @covers ::dataTypeMatches @covers ::getSampleValues @covers ::getConstraintObjects |
EntityContextDefinitionIsSatisfiedTest::testIsSatisfiedByGenerateBundledEntity | function | core/ |
@covers ::isSatisfiedBy @covers ::dataTypeMatches @covers ::getSampleValues @covers ::getConstraintObjects |
EntityContextDefinitionIsSatisfiedTest::testIsSatisfiedByPassBundledEntity | function | core/ |
@covers ::isSatisfiedBy @covers ::dataTypeMatches @covers ::getSampleValues @covers ::getConstraintObjects |
Pagination
- Previous page
- Page 17
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.