Search for context
- Search 7.x for context
- Search 9.5.x for context
- Search 10.3.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-8.block-context-manager-2354889.php | file | core/ |
Contains database additions to drupal-8.bare.standard.php.gz for testing the upgrade path of https://www.drupal.org/node/2354889. |
| 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 enable. |
| DuplicateContextualLinksTest::testSameContextualLinks | function | core/ |
Tests the contextual links with same id. |
| DynamicMenuLinkMock::getCacheContexts | function | core/ |
The cache contexts associated with this object. |
| 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::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::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. |
| 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. |
| EntityContextDefinitionDeprecationTest | class | core/ |
Test deprecated use of ContextDefinition as an EntityContextDefinition. |
| EntityContextDefinitionDeprecationTest.php | file | core/ |
|
| EntityContextDefinitionDeprecationTest::$compatibilityLayer | property | core/ |
The compatibility layer property on the context definition under test. |
| EntityContextDefinitionDeprecationTest::$definition | property | core/ |
The context definition under test. |
| EntityContextDefinitionDeprecationTest::setUp | function | core/ |
|
| EntityContextDefinitionDeprecationTest::testAddConstraint | function | core/ |
Test that addConstraint() proxies to the compatibility layer. |
| EntityContextDefinitionDeprecationTest::testGetConstraint | function | core/ |
Test that getConstraint() proxies to the compatibility layer. |
| EntityContextDefinitionDeprecationTest::testGetConstraintObjects | function | core/ |
Test that getConstraintObjects() adds the EntityType constraint. |
| EntityContextDefinitionDeprecationTest::testGetConstraints | function | core/ |
Test that getConstraints() proxies to the compatibility layer. |
| EntityContextDefinitionDeprecationTest::testIsSatisfiedBy | function | core/ |
Test that isSatisfiedBy() calls the compatibility layer. |
| EntityContextDefinitionDeprecationTest::testSerialization | function | core/ |
Test that the BC layer survives serialization and unserialization. |
| EntityContextDefinitionDeprecationTest::testSetConstraints | function | core/ |
Test that setConstraints() proxies to the compatibility layer. |
| 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. |
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.