You are here

public function Theme::summary in Context 8.4

Same name and namespace in other branches
  1. 8 src/Plugin/ContextReaction/Theme.php \Drupal\context\Plugin\ContextReaction\Theme::summary()

Provides a human readable summary of the condition's configuration.

Return value

\Drupal\Core\StringTranslation\TranslatableMarkup An object that, when cast to a string, returns the translated string.

Overrides ContextReactionInterface::summary

File

src/Plugin/ContextReaction/Theme.php, line 67

Class

Theme
Provides a content reaction that will let you change theme.

Namespace

Drupal\context\Plugin\ContextReaction

Code

public function summary() {
  return $this
    ->t('Gives you ability to change theme.');
}