system.theme_uninstall.html.twig

Same filename in other branches
  1. 8.9.x core/modules/help_topics/help_topics/system.theme_uninstall.html.twig
  2. 10 core/modules/system/help_topics/system.theme_uninstall.html.twig
  3. 11.x core/modules/system/help_topics/system.theme_uninstall.html.twig
---
label: 'Uninstalling an unused theme'
related:
  - core.appearance
  - system.theme_install
---
{% set themes_url = render_var(url('system.themes_page')) %}
<h2>{% trans %}Goal{% endtrans %}</h2>
<p>{% trans %}Uninstall a theme that was previously installed, but is no longer being used on the site.{% endtrans %}</p>
<h2>{% trans %}Steps{% endtrans %}</h2>
<ol>
  <li>{% trans %}In the <em>Manage</em> administrative menu, navigate to <a href="{{ themes_url }}"><em>Appearance</em></a>.{% endtrans %}</li>
  <li>{% trans %}Locate the theme that you want to uninstall, in the <em>Installed themes</em> section.{% endtrans %}</li>
  <li>{% trans %}Click the <em>Uninstall</em> link to install the theme. If there is not an <em>Uninstall</em> link, the theme cannot be uninstalled because it is either being used as the site default theme, being used as the <em>Administration theme</em>, or is the base theme for another installed theme.{% endtrans %}</li>
</ol>

File

core/modules/help_topics/help_topics/system.theme_uninstall.html.twig

View source
  1. ---
  2. label: 'Uninstalling an unused theme'
  3. related:
  4. - core.appearance
  5. - system.theme_install
  6. ---
  7. {% set themes_url = render_var(url('system.themes_page')) %}
  8. <h2>{% trans %}Goal{% endtrans %}</h2>
  9. <p>{% trans %}Uninstall a theme that was previously installed, but is no longer being used on the site.{% endtrans %}</p>
  10. <h2>{% trans %}Steps{% endtrans %}</h2>
  11. <ol>
  12. <li>{% trans %}In the <em>Manage</em> administrative menu, navigate to <a href="{{ themes_url }}"><em>Appearance</em></a>.{% endtrans %}</li>
  13. <li>{% trans %}Locate the theme that you want to uninstall, in the <em>Installed themes</em> section.{% endtrans %}</li>
  14. <li>{% trans %}Click the <em>Uninstall</em> link to install the theme. If there is not an <em>Uninstall</em> link, the theme cannot be uninstalled because it is either being used as the site default theme, being used as the <em>Administration theme</em>, or is the base theme for another installed theme.{% endtrans %}</li>
  15. </ol>

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.