Drupal is a registered trademark of Dries Buytaert

status_block

No security coverage
View on drupal.org

Customizable block showing site state (version, theme, custom message) with environment color coding, reorderable items, a "More" section, CSS variables, and plugin extensibility.

Features

  1. Included data:
    • Current Drupal version
    • Active theme
    • Custom message (editable in the block settings)
  2. Environment color coding: each environment (e.g., dev/stage/prod) can have its own color so team members can quickly identify the environment.
  3. Configurable display:
    • Choose which data items are visible in the bar.
    • Move less-frequently used items into a "More" dropdown to keep the bar compact.
    • Reorder items via a drag-and-drop UI in the block configuration.
  4. Styling and theming:
    • CSS customization through CSS variables to adapt colors, spacing, and typography to your theme.
    • The block is shipped with a minimal, theme-friendly stylesheet and JavaScript for the UI behavior.
  5. Extensibility for developers:
    • Implement new data widgets using the module’s plugin system to show custom metrics or links (deploy info, monitoring links, feature flags, etc.).
  6. UX notes:
    • The block is fixed-positioned by default so it stays visible while browsing pages; you still place it in a region when adding the block so Drupal can manage visibility and permissions.

Post-Installation

  1. Enable the module on Extend (Admin > Extend).
  2. Go to Structure > Block layout.
  3. Select the theme where you want the bar to appear.
  4. Add block > choose the "Status bar" block (or the block label provided by the module).
  5. Place the block in any region (the block is fixed-positioned, so the chosen region only controls visibility and context).
  6. Open the block configuration to:
    • Select which data items to show.
    • Reorder items via drag-and-drop.
    • Move items into or out of the "More" dropdown.
    • Edit the custom message content.
    • Configure environment names and colors.
    • Set visibility and role/permission restrictions so only intended users see the bar.
  7. Save and visit a page in the selected theme to confirm the bar is visible and styled as expected.

Community Documentation

To be done soon...

Activity

Total releases
1
First release
Jan 2026
Latest release
1 month ago
Release cadence
Stability
100% stable

Releases

Version Type Release date
1.0.0 Stable Jan 26, 2026