You are here

public function GoogleCSEBlock::defaultConfiguration in Google Custom Search Engine 8.2

Same name and namespace in other branches
  1. 8.3 src/Plugin/Block/GoogleCSEBlock.php \Drupal\google_cse\Plugin\Block\GoogleCSEBlock::defaultConfiguration()

Overrides BlockPluginTrait::defaultConfiguration

File

src/Plugin/Block/GoogleCSEBlock.php, line 83

Class

GoogleCSEBlock
Provides a 'Google CSE' block.

Namespace

Drupal\google_cse\Plugin\Block

Code

public function defaultConfiguration() {
  return [
    'label' => $this
      ->t('Search'),
  ];
}