You are here

public function SitemapSyndicateBlock::defaultConfiguration in Sitemap 8.2

Same name and namespace in other branches
  1. 8 src/Plugin/Block/SitemapSyndicateBlock.php \Drupal\sitemap\Plugin\Block\SitemapSyndicateBlock::defaultConfiguration()
  2. 2.0.x src/Plugin/Block/SitemapSyndicateBlock.php \Drupal\sitemap\Plugin\Block\SitemapSyndicateBlock::defaultConfiguration()

Overrides BlockPluginTrait::defaultConfiguration

File

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

Class

SitemapSyndicateBlock
Provides a 'Syndicate (sitemap)' block.

Namespace

Drupal\sitemap\Plugin\Block

Code

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