public function SitemapSyndicateBlock::defaultConfiguration in Sitemap 8
Same name and namespace in other branches
- 8.2 src/Plugin/Block/SitemapSyndicateBlock.php \Drupal\sitemap\Plugin\Block\SitemapSyndicateBlock::defaultConfiguration()
- 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\BlockCode
public function defaultConfiguration() {
return [
'cache' => [
// No caching.
'max_age' => 0,
],
];
}