public function PageTitle::execute in Context 8.4
Executes the plugin.
Overrides ExecutableInterface::execute
File
- src/
Plugin/ ContextReaction/ PageTitle.php, line 28
Class
- PageTitle
- Provides a reaction that changes page title.
Namespace
Drupal\context\Plugin\ContextReactionCode
public function execute() {
$config = $this
->getConfiguration();
return $config['page_title'];
}