function _drush_theme_admin

8.0.x environment_7.inc _drush_theme_admin()
8.0.x environment_6.inc _drush_theme_admin()
8.0.x environment.inc _drush_theme_admin()
7.x environment_7.inc _drush_theme_admin()
7.x environment_6.inc _drush_theme_admin()
7.x environment.inc _drush_theme_admin()
master environment_7.inc _drush_theme_admin()
master environment.inc _drush_theme_admin()
2 calls to _drush_theme_admin()
drush_get_themes in commands/core/drupal/environment.inc
Get complete information for all available themes.
drush_theme_get_admin in includes/environment.inc
Return the administration theme.

File

commands/core/drupal/environment.inc, line 359
Specific functions for a drupal 8+ environment. drush_include_engine() magically includes either this file or environment_X.inc depending on which version of drupal Drush is called from.

Code

function _drush_theme_admin() {
  $theme = \Drupal::config('system.theme')->get('admin');
  return empty($theme) ? 'seven' : $theme;
}