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 |
|---|---|---|---|
| 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[[api-linebreak]] |
| 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[[api-linebreak]] @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[[api-linebreak]] @covers ::dataTypeMatches[[api-linebreak]] @covers ::getSampleValues[[api-linebreak]] @covers ::getConstraintObjects[[api-linebreak]] |
| EntityContextDefinitionIsSatisfiedTest::testIsSatisfiedByGenerateBundledEntity | function | core/ |
@covers ::isSatisfiedBy[[api-linebreak]] @covers ::dataTypeMatches[[api-linebreak]] @covers ::getSampleValues[[api-linebreak]] @covers ::getConstraintObjects[[api-linebreak]] |
| EntityContextDefinitionIsSatisfiedTest::testIsSatisfiedByPassBundledEntity | function | core/ |
@covers ::isSatisfiedBy[[api-linebreak]] @covers ::dataTypeMatches[[api-linebreak]] @covers ::getSampleValues[[api-linebreak]] @covers ::getConstraintObjects[[api-linebreak]] |
| EntityContextTypedDataTest | class | core/ |
Tests the interaction between entity context and typed data. |
| EntityContextTypedDataTest.php | file | core/ |
|
| EntityContextTypedDataTest::$modules | property | core/ |
Modules to install. |
| EntityContextTypedDataTest::testValidateConfigEntityContext | function | core/ |
Tests that entity contexts wrapping a config entity can be validated. |
| EntityDisplayBase::$displayContext | property | core/ |
Context in which this entity will be used (e.g. 'view', 'form'). |
| EntityDisplayFormBase::$displayContext | property | core/ |
The display context. Either 'view' or 'form'. |
| EntityDisplayModeFormBase::$displayContext | property | core/ |
The display context. Either 'view' or 'form'. |
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.