public function SyndicateBlock::defaultConfiguration in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/node/src/Plugin/Block/SyndicateBlock.php \Drupal\node\Plugin\Block\SyndicateBlock::defaultConfiguration()
Gets default configuration for this plugin.
Return value
array An associative array with the default configuration.
Overrides BlockBase::defaultConfiguration
File
- core/
modules/ node/ src/ Plugin/ Block/ SyndicateBlock.php, line 28 - Contains \Drupal\node\Plugin\Block\SyndicateBlock.
Class
- SyndicateBlock
- Provides a 'Syndicate' block that links to the site's RSS feed.
Namespace
Drupal\node\Plugin\BlockCode
public function defaultConfiguration() {
return array(
'block_count' => 10,
);
}