You are here

public function SitemapSyndicateBlock::defaultConfiguration in Site map 8

Overrides BlockPluginTrait::defaultConfiguration

File

src/Plugin/Block/SitemapSyndicateBlock.php, line 24

Class

SitemapSyndicateBlock
Provides a 'Syndicate (site map)' block.

Namespace

Drupal\site_map\Plugin\Block

Code

public function defaultConfiguration() {
  return array(
    'cache' => array(
      // No caching.
      'max_age' => 0,
    ),
  );
}