Skip to content

Sites devel

Sites devel adds a Sites debug information block to the content region of every page, for developers working on a platform. For the request it dumps the sites that claim the route with their resolved settings (sensitive ones redacted), the active site, the route, the languages, and the path aliases and redirects of the route's entity. In development mode it also opens Devel's dumps to every logged-in user. Keep it off production.

Install

A project of its own, drupal.org/project/sites_devel:

composer require drupal/sites_devel
drush en sites_devel

Requires Sites, devel (devel), block_plugin_view_builder (block_plugin_view_builder).

Configure

The block needs no placement: it shows to users with View the Sites debug block. Development mode is the sites.development container parameter, false by default; set it to true in a development environment's services.yml to show the block and Devel's output to every logged-in user. Anonymous visitors still need the permission. Details: Sites devel.

Permissions

Permission Machine name
View the Sites debug block use sites_devel

Last updated 2026-10-16

Used in