You are here

public function PurgeBlock::defaultConfiguration in Purge 8.3

Overrides BlockPluginTrait::defaultConfiguration

File

modules/purge_ui/src/Plugin/Block/PurgeBlock.php, line 141

Class

PurgeBlock
Let site administrators purge the current page.

Namespace

Drupal\purge_ui\Plugin\Block

Code

public function defaultConfiguration() {
  return [
    'purge_block_id' => sha1(microtime()),
    'description' => '',
    'submit_label' => $this
      ->t('Clear!'),
    'type' => 'url',
    'execution' => 'direct',
  ];
}