Template Suggestions
template_suggestionsGet the ordered Twig template name suggestions Drupal tries for an entity, bundle, or page, with checked-theme flags showing which files would take effect.
Instructions
Twig template names Drupal will try for an entity, specific first.
The suggestion chain for node, block, taxonomy_term, user, field, or page rendering (bracketed parts are placeholders Drupal fills in, e.g. node--article--123.html.twig beats node--article.html.twig). Unknown entity types get the generic chain. When DRUPAL_ROOT is configured each suggestion is marked in_checked_theme: whether the default theme already ships that file, so you know which name creating one would actually take effect.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bundle | No | ||
| entity_type | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||