public function PageTitle::summary in Context 8.4
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/ PageTitle.php, line 21
Class
- PageTitle
- Provides a reaction that changes page title.
Namespace
Drupal\context\Plugin\ContextReactionCode
public function summary() {
return $this
->t('Lets you override the page title');
}