You are here

public function SuggestionBlock::defaultConfiguration in Autocomplete Search Suggestions 8

Same name and namespace in other branches
  1. 8.2 src/Plugin/Block/SuggestionBlock.php \Drupal\suggestion\Plugin\Block\SuggestionBlock::defaultConfiguration()
  2. 3.0.x src/Plugin/Block/SuggestionBlock.php \Drupal\suggestion\Plugin\Block\SuggestionBlock::defaultConfiguration()

Overrides BlockPluginTrait::defaultConfiguration

File

src/Plugin/Block/SuggestionBlock.php, line 42

Class

SuggestionBlock
Provides a suggestion search block.

Namespace

Drupal\suggestion\Plugin\Block

Code

public function defaultConfiguration() {
  return [
    'action' => SuggestionHelper::getConfig('action'),
  ];
}