Drupal 10: A List Of Core Contexts

Language Context


Provided by Drupal\Core\Language\ContextProvider\CurrentLanguageContext.

Defined in core/core.services.yml.

User Context


Provided by Drupal\user\ContextProvider\CurrentUserContext.

Defined in core/modules/user/user.services.yml.

Taxonomy Context


Provided by Drupal\taxonomy\ContextProvider\TermRouteContext.

Defined in core/modules/taxonomy/taxonomy.services.yml.

Node Context


Provided by Drupal\node\ContextProvider\NodeRouteContext.
Defined in core/modules/node/node.services.yml.


This is really useful, thank you!


Add new comment

The content of this field is kept private and will not be shown publicly.
This question is for testing whether or not you are a human visitor and to prevent automated spam submissions.
2 + 2 =
Solve this simple math problem and enter the result. E.g. for 1+3, enter 4.