You are here

public function ThemeSwitcherRule::getAdminTheme in Theme Switcher Rules 8

Gets the admin theme to apply.

Return value

string The switch theme rule admin theme.

Overrides ThemeSwitcherRuleInterface::getAdminTheme

File

src/Entity/ThemeSwitcherRule.php, line 133

Class

ThemeSwitcherRule
Defines the Theme Switcher Rule entity.

Namespace

Drupal\theme_switcher\Entity

Code

public function getAdminTheme() {
  return $this->admin_theme;
}