system.theme_uninstall.html.twig

Same filename in other branches
  1. 9 core/modules/help_topics/help_topics/system.theme_uninstall.html.twig
  2. 8.9.x core/modules/help_topics/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_link_text %}{% trans %}Appearance{% endtrans %}{% endset %}
{% set themes_link = render_var(help_route_link(themes_link_text, '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 <em>{{ themes_link }}</em>.{% 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 uninstall 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/system/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_link_text %}{% trans %}Appearance{% endtrans %}{% endset %}
  8. {% set themes_link = render_var(help_route_link(themes_link_text, 'system.themes_page')) %}
  9. <h2>{% trans %}Goal{% endtrans %}</h2>
  10. <p>{% trans %}Uninstall a theme that was previously installed, but is no longer being used on the site.{% endtrans %}</p>
  11. <h2>{% trans %}Steps{% endtrans %}</h2>
  12. <ol>
  13. <li>{% trans %}In the <em>Manage</em> administrative menu, navigate to <em>{{ themes_link }}</em>.{% endtrans %}</li>
  14. <li>{% trans %}Locate the theme that you want to uninstall, in the <em>Installed themes</em> section.{% endtrans %}</li>
  15. <li>{% trans %}Click the <em>Uninstall</em> link to uninstall 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>
  16. </ol>

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