Weird admin blocks if drupal_cms_admin_ui used on a non-Drupal CMS site
>>> [!note] Migrated issue
<!-- Drupal.org comment -->
<!-- Migrated from issue #3529040. -->
Reported by: [mandclu](https://www.drupal.org/user/52136)
Related to !795
>>>
<h3 id="summary-problem-motivation">Problem/Motivation</h3>
<p>As part of the Event Platform initiative, I am working on a recipe to provide a robust starting point for a Drupal camp website. The content architecture of Drupal CMS overall is too opinionated to be suitable as a starting point, but I would like to use individual recipes as a way to align with best practices being established here.</p>
<p>In particular, I would like to use drupal_cms_admin_ui as a way to install the Gin admin theme and some other admin improvements. Unfortunately, applying the recipe on a fresh (standard) install of Drupal 11 yields unexpected results.</p>
<p>Here is an example of how the Extend page looks before applying the recipe:<br>
<img src="https://www.drupal.org/files/issues/2025-06-08/Screenshot%202025-06-08%20at%201.26.23%E2%80%AFPM_0.png" alt="Claro view of Extend page"></p>
<p>And here is how it looks after:<br>
<img src="https://www.drupal.org/files/issues/2025-06-08/Screenshot%202025-06-08%20at%201.29.07%E2%80%AFPM_0.png" alt="Gin view of Extend page after applying the recipe"></p>
<p>It appears that somehow the recipe puts a large number of blocks intended for the front end into the header region of the Gin admin theme.<br>
<img src="https://www.drupal.org/files/issues/2025-06-08/Screenshot%202025-06-08%20at%201.43.02%E2%80%AFPM_0.png" alt="Block layout page for Gin after applying the recipe"></p>
<h4 id="summary-steps-reproduce">Steps to reproduce</h4>
<p>On a fresh, standard install of Drupal 11, apply the drupal_cms_admin_ui recipe, and then go to any administration page, such as the Extend page.</p>
<h3 id="summary-proposed-resolution">Proposed resolution</h3>
<p>I'm not sure what is causing this behaviour. I did notice that if I manually install Gin before applying the recipe then the extra blocks are not visible. So it's possible it is somehow a by-product of using the recipe runner to install a theme.</p>
> Related issue: [Issue #3182716](https://www.drupal.org/node/3182716)
> Related issue: [Issue #3563831](https://www.drupal.org/node/3563831)
> Related issue: [Issue #3105597](https://www.drupal.org/node/3105597)
issue