You are here

public function ThemeSwitcherRule::getTheme in Theme Switcher Rules 8

Gets the theme to apply.

Return value

string The switch theme rule theme.

Overrides ThemeSwitcherRuleInterface::getTheme

File

src/Entity/ThemeSwitcherRule.php, line 126

Class

ThemeSwitcherRule
Defines the Theme Switcher Rule entity.

Namespace

Drupal\theme_switcher\Entity

Code

public function getTheme() {
  return $this->theme;
}