You are here

public function PageTemplateSuggestions::execute in Context 8

Same name and namespace in other branches
  1. 8.4 src/Plugin/ContextReaction/PageTemplateSuggestions.php \Drupal\context\Plugin\ContextReaction\PageTemplateSuggestions::execute()

Executes the plugin.

Overrides ExecutableInterface::execute

File

src/Plugin/ContextReaction/PageTemplateSuggestions.php, line 27

Class

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

Namespace

Drupal\context\Plugin\ContextReaction

Code

public function execute() {
  $config = $this
    ->getConfiguration();
  return $config['suggestions'];
}