You are here

public function TagcloudsTermsBlock::defaultConfiguration in TagCloud 8

Same name and namespace in other branches
  1. 2.0.x src/Plugin/Block/TagcloudsTermsBlock.php \Drupal\tagclouds\Plugin\Block\TagcloudsTermsBlock::defaultConfiguration()
  2. 1.0.x src/Plugin/Block/TagcloudsTermsBlock.php \Drupal\tagclouds\Plugin\Block\TagcloudsTermsBlock::defaultConfiguration()

Overrides BlockPluginTrait::defaultConfiguration

File

src/Plugin/Block/TagcloudsTermsBlock.php, line 91

Class

TagcloudsTermsBlock
Provides a template for blocks based of each vocabulary.

Namespace

Drupal\tagclouds\Plugin\Block

Code

public function defaultConfiguration() {
  return [
    'cache' => [
      'max_age' => 0,
      'contexts' => [],
    ],
  ];
}