You are here

public function ThemeSwitcherRule::getWeight in Theme Switcher Rules 8

Gets the sort weight of the switch theme rule.

Return value

int The switchThemeRule record sort weight.

Overrides ThemeSwitcherRuleInterface::getWeight

File

src/Entity/ThemeSwitcherRule.php, line 119

Class

ThemeSwitcherRule
Defines the Theme Switcher Rule entity.

Namespace

Drupal\theme_switcher\Entity

Code

public function getWeight() {
  return $this->weight;
}