Commit e94c581e authored by Jess's avatar Jess
Browse files

Issue #2667242 by Anul, felribeiro, eojthebrave, pranavbabbar: Use consistent...

Issue #2667242 by Anul, felribeiro, eojthebrave, pranavbabbar: Use consistent terminology when referencing administration themes in the UI (not "admin theme")
parent 21a4b870
Loading
Loading
Loading
Loading
+1 −1
Changes for core/lib/Drupal/Core/Extension/ThemeInstaller.php: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -223,7 +223,7 @@ public function uninstall(array $theme_list) {
        throw new \InvalidArgumentException("The current default theme $key cannot be uninstalled.");
      }
      if ($key === $theme_config->get('admin')) {
        throw new \InvalidArgumentException("The current admin theme $key cannot be uninstalled.");
        throw new \InvalidArgumentException("The current administration theme $key cannot be uninstalled.");
      }
      // Base themes cannot be uninstalled if sub themes are installed, and if
      // they are not uninstalled at the same time.
+1 −1
Changes for core/modules/node/config/schema/node.schema.yml: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -6,7 +6,7 @@ node.settings:
  mapping:
    use_admin_theme:
      type: boolean
      label: 'Use admin theme when editing or creating content'
      label: 'Use administration theme when editing or creating content'

node.type.*:
  type: config_entity
+1 −1
Changes for core/modules/system/src/Controller/SystemController.php: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -307,7 +307,7 @@ public function themesPage() {
        $theme->notes[] = $this->t('default theme');
      }
      if ($theme->is_admin) {
        $theme->notes[] = $this->t('admin theme');
        $theme->notes[] = $this->t('administration theme');
      }

      // Sort installed and uninstalled themes into their own groups.
+1 −1
Changes for core/themes/seven/seven.info.yml: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -4,7 +4,7 @@
# As the UI of Drupal improves between minor versions, the mark up and assets
# in the Seven theme will change. The Seven theme is not backwards
# compatible. If you wish to modify the output or assets of Seven you can:
# 1. Copy the whole of Seven and rename it as your own admin theme. You
# 1. Copy the whole of Seven and rename it as your own administration theme. You
# will need to manually manage your own updates if you want to stay up to
# date with Seven's bug fixes and feature support.
#