Skip to content

Configuration

Settings

The settings form is at /admin/config/user-interface/theme-view-display.

The settings form with the allowed themes and the admin theme switch

Setting Config key Default Effect
Allowed themes allowed_themes none checked Themes that can have overrides. With none checked, every installed theme is allowed.
Allow overrides for the admin theme include_admin_theme off The admin theme is left out of the theme list unless this is on.

These settings only decide which themes the Add form offers. Existing overrides keep working if you change them.

Permissions

Permission Allows
Administer theme view displays Create, edit, enable, disable and revert overrides. Marked as restricted, because it changes front-end output.

The permission is not enough on its own. Every override screen also requires the core permission "Administer [entity type] display" of the entity type, for example "Administer content type display" for nodes. Overrides built with Display Builder also follow the permission of the Display Builder profile in use.

Users without the permission see no override column, no switcher and no notices.

Status report

When overrides exist, the status report has a "Theme view displays" line with the number of overrides per theme. It turns into a warning when an override:

  • overrides a view mode that is disabled, or
  • uses a component whose theme or module is no longer installed.