public function ThemeSwitcherRuleInterface::getWeight in Theme Switcher Rules 8
Gets the sort weight of the switch theme rule.
Return value
int The switchThemeRule record sort weight.
1 method overrides ThemeSwitcherRuleInterface::getWeight()
- ThemeSwitcherRule::getWeight in src/
Entity/ ThemeSwitcherRule.php - Gets the sort weight of the switch theme rule.
File
- src/
ThemeSwitcherRuleInterface.php, line 18
Class
- ThemeSwitcherRuleInterface
- Provides an interface defining a theme_switcher_rule entity.
Namespace
Drupal\theme_switcherCode
public function getWeight();