You are here

public function ThemeKeyRule::key in ThemeKey 8

Return value

string

Overrides ThemeKeyRuleInterface::key

1 call to ThemeKeyRule::key()
ThemeKeyRule::toString in src/Entity/ThemeKeyRule.php
Returns a simple string representation of the rule. TODO

File

src/Entity/ThemeKeyRule.php, line 117
Contains Drupal\themekey\Entity\ThemeKeyRule.

Class

ThemeKeyRule
Defines the ThemeKeyRule entity.

Namespace

Drupal\themekey\Entity

Code

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