Drupal is a registered trademark of Dries Buytaert
cms 2.1.3 Update released for Drupal core (2.1.3)! drupal 10.5.11 Update released for Drupal core (10.5.11)! drupal 11.3.11 Update released for Drupal core (11.3.11)! drupal 11.2.13 Update released for Drupal core (11.2.13)! drupal 10.6.10 Update released for Drupal core (10.6.10)! cms 2.1.2 Update released for Drupal core (2.1.2)! drupal 11.1.10 Update released for Drupal core (11.1.10)! drupal 10.5.10 Update released for Drupal core (10.5.10)! drupal 10.4.10 Update released for Drupal core (10.4.10)! drupal 11.2.12 Update released for Drupal core (11.2.12)! drupal 11.3.10 Update released for Drupal core (11.3.10)! drupal 10.6.9 Update released for Drupal core (10.6.9)! drupal 10.6.8 Update released for Drupal core (10.6.8)! drupal 11.3.9 Update released for Drupal core (11.3.9)! drupal 11.3.8 Update released for Drupal core (11.3.8)! drupal 11.3.7 Update released for Drupal core (11.3.7)! drupal 11.2.11 Update released for Drupal core (11.2.11)! drupal 10.6.7 Update released for Drupal core (10.6.7)! drupal 10.5.9 Update released for Drupal core (10.5.9)! cms 2.1.1 Update released for Drupal core (2.1.1)!

Site Studio Manager gives Drupal administrators a unified dashboard to audit and clean up Acquia Site Studio components, custom styles, and helpers. It shows live usage counts for every item, identifies unused ones, and lets authorized users delete them safely — all from a single admin page without touching the database manually.

Features

What does this module do?
Managing a large Acquia Site Studio installation often results in accumulated unused components, custom styles, and helpers that are no longer referenced anywhere on the site. There is no native Site Studio UI to find and remove these items in bulk. Site Studio Manager solves this by providing:

  • Unified dashboard at /admin/site-studio/manager listing all cohesion_component and cohesion_custom_style entities with live usage counts sourced directly from the coh_usage table — covering usage across master templates, content templates, menu templates, view templates, nodes, and sync packages
  • Helpers management page at /admin/site-studio/manager/helpers listing all cohesion_helper entities with multiselect checkboxes for bulk deletion
  • Usage count badges — colour-coded red (0), amber (1–3), green (4+) so unused items are immediately visible
  • Filter tabs — All / Components / Custom Styles / Unused only
  • Live search and sort — filter by name or machine name, sort by name or count, all client-side with no page reload
  • Pagination — 50 items per page with a smart pager
  • Delete all unused — bulk deletion with a multi-pass loop that resolves inter-dependency chains so all unused items are removed in a single action
  • Single item delete — per-row delete button available only for items with count 0
  • Permanent audit log at /admin/site-studio/manager/logs recording every deletion with username, UID, entity label, entity ID, UUID, status, and timestamp — never cleared by Drupal cache or watchdog purges
  • CSV export of the audit log with active filters applied
  • Email-based access control — configure which users see the delete button via email address at the Settings page, without needing to manage roles
  • Auto permission grant — relevant roles receive the dashboard permission automatically on module install
  • Admin toolbar integration — Site Studio Manager appears as a top-level menu in the Drupal admin toolbar with sub-links for each section

Post-Installation

After enabling the module:

  1. Visit the dashboard at /admin/site-studio/manager — all components and custom styles are listed immediately with their live usage counts
  2. Configure delete access at /admin/site-studio/manager/settings (administrator role only) — enter the email addresses of users who should see the Delete all unused and single delete buttons. If no emails are entered nobody will see the delete options
  3. Review unused items — use the "Unused only" tab to see all items with a count of 0
  4. Delete unused items — click "Delete all unused" to remove everything in one action, or use individual Delete buttons per row. The deletion runs in a multi-pass loop to handle items that become free after their dependents are deleted
  5. Review the audit log at /admin/site-studio/manager/logs (administrator role only) — filter by user, action, entity type, status, or date range. Export to CSV for reporting
  6. Helpers — visit /admin/site-studio/manager/helpers to select and delete unused helpers in bulk using the checkbox interface

Additional Requirements

  • Drupal 10 or 11
  • Acquia Site Studio (the cohesion module) must be installed and enabled
  • PHP 8.1 or higher
  • The coh_usage database table must exist — this is created automatically by Site Studio on install
  • Acquia Site Studio — required dependency. Site Studio Manager is purpose-built to complement the Site Studio workflow
  • Admin Toolbar — recommended for a better admin toolbar experience. Site Studio Manager registers its own toolbar entries which display well with the Admin Toolbar module's dropdown enhancement

Similar projects

  • Cohesion Tools — provides additional Site Studio utilities but does not offer a usage audit dashboard or bulk deletion
  • Config Inspector — inspects Drupal config entities broadly but has no Site Studio-specific usage tracking or deletion features

Supporting this Module

If you find this module useful, please consider:

  • Filing bug reports and feature requests in the issue queue
  • Leaving a review on the Drupal.org project page
  • Contributing patches or merge requests via the GitLab repository

Community Documentation

Activity

Total releases
3
First release
Jun 2026
Latest release
5 days ago
Release cadence
0 days
Stability
67% stable

Release Timeline

Releases

Version Type Release date
1.0.1 Stable Jun 8, 2026
1.0.x-dev Dev Jun 8, 2026
1.0.0 Stable Jun 8, 2026