You are here

public function PageTemplateSuggestions::summary in Context 8.4

Same name and namespace in other branches
  1. 8 src/Plugin/ContextReaction/PageTemplateSuggestions.php \Drupal\context\Plugin\ContextReaction\PageTemplateSuggestions::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/PageTemplateSuggestions.php, line 21

Class

PageTemplateSuggestions
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 add template suggestions.');
}