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 |
|---|---|---|---|
| UrlCacheContext::getCacheableMetadata | function | core/ |
Gets the cacheability metadata for the context. |
| UrlCacheContext::getContext | function | core/ |
Returns the string representation of the cache context. |
| UrlCacheContext::getLabel | function | core/ |
Returns the label of the cache context. |
| UrlGenerator::$context | property | core/ |
|
| UrlGenerator::getContext | function | core/ |
|
| UrlGenerator::setContext | function | core/ |
phpcs:ignore Drupal.Commenting.FunctionComment.VoidReturn |
| UrlGeneratorTest::$context | property | core/ |
The request context. |
| user.current_user_context | service | core/ |
Drupal\user\ContextProvider\CurrentUserContext |
| user.links.contextual.yml | file | core/ |
core/modules/user/user.links.contextual.yml |
| User::getCacheContexts | function | core/ |
The cache contexts associated with this object. |
| UserCacheContext | class | core/ |
Defines the UserCacheContext service, for "per user" caching. |
| UserCacheContext.php | file | core/ |
|
| UserCacheContext::getCacheableMetadata | function | core/ |
Gets the cacheability metadata for the context. |
| UserCacheContext::getContext | function | core/ |
Returns the string representation of the cache context. |
| UserCacheContext::getLabel | function | core/ |
Returns the label of the cache context. |
| UserCacheContextBase | class | core/ |
Base class for user-based cache contexts. |
| UserCacheContextBase.php | file | core/ |
|
| UserCacheContextBase::$user | property | core/ |
The account object. |
| UserCacheContextBase::__construct | function | core/ |
Constructs a new UserCacheContextBase class. |
| UserContextAccessPolicy | class | core/ |
|
| UserContextAccessPolicy::applies | function | core/ |
Checks whether this access policy applies to a given scope. |
| UserContextAccessPolicy::getPersistentCacheContexts | function | core/ |
Gets the persistent cache contexts. |
| UserResourceTestBase::getExpectedCacheContexts | function | core/ |
The expected cache contexts for the GET/HEAD response of the test entity. |
| UserRole::getCacheContexts | function | core/ |
|
| UserRolesAccessPolicy::getPersistentCacheContexts | function | core/ |
Gets the persistent cache contexts. |
| UserRolesAccessPolicyTest::testGetPersistentCacheContexts | function | core/ |
Tests the getPersistentCacheContexts method. |
| UserRolesCacheContext | class | core/ |
Defines the UserRolesCacheContext service, for "per role" caching. |
| UserRolesCacheContext.php | file | core/ |
|
| UserRolesCacheContext::getCacheableMetadata | function | core/ |
Gets the cacheability metadata for the context based on the parameter value. |
| UserRolesCacheContext::getContext | function | core/ |
Returns the string representation of the cache context. |
| UserRolesCacheContext::getLabel | function | core/ |
Returns the label of the cache context. |
| UserRolesCacheContextTest | class | core/ |
@coversDefaultClass \Drupal\Core\Cache\Context\UserRolesCacheContext[[api-linebreak]] @group Cache |
| UserRolesCacheContextTest.php | file | core/ |
|
| UserRolesCacheContextTest::testCalculatedRole | function | core/ |
@covers ::getContext[[api-linebreak]] |
| UserTest::getExpectedCacheContexts | function | core/ |
The expected cache contexts for the GET/HEAD response of the test entity. |
| UserTranslationUITest::$defaultCacheContexts | property | core/ |
Default cache contexts expected on a non-translated entity. |
| VariationCacheTest::$cacheContextsManager | property | core/ |
The prophesized cache contexts manager. |
| ViewExecutable::addCacheContext | function | core/ |
Expands the list of used cache contexts for the view. |
| views.view.contextual_recent.yml | file | core/ |
core/modules/contextual/tests/modules/contextual_test/config/optional/views.view.contextual_recent.yml |
| views.view.test_contextual_links.yml | file | core/ |
core/modules/node/tests/modules/node_test_views/test_views/views.view.test_contextual_links.yml |
| views.view.test_user_role_contextual_filter.yml | file | core/ |
core/modules/views/tests/modules/views_test_config/test_views/views.view.test_user_role_contextual_filter.yml |
| views.view.test_view_block_with_context.yml | file | core/ |
core/modules/block/tests/modules/block_test_views/test_views/views.view.test_view_block_with_context.yml |
| ViewsBlockBase::addContextualLinks | function | core/ |
Converts Views block content to a renderable array with contextual links. |
| ViewsDisplay::$contextual_links_locations | property | core/ |
A list of places where contextual links should be added. |
| ViewsExposedFilterBlock::getCacheContexts | function | core/ |
|
| ViewsTestCacheContext | class | core/ |
Test cache context which uses a dynamic context coming from state. |
| ViewsTestCacheContext.php | file | core/ |
|
| ViewsTestCacheContext::getCacheableMetadata | function | core/ |
Gets the cacheability metadata for the context. |
| ViewsTestCacheContext::getContext | function | core/ |
Returns the string representation of the cache context. |
| ViewsTestCacheContext::getLabel | function | core/ |
Returns the label of the cache context. |
Pagination
- Previous page
- Page 32
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.