public function AggregatorFeedBlock::defaultConfiguration in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/aggregator/src/Plugin/Block/AggregatorFeedBlock.php \Drupal\aggregator\Plugin\Block\AggregatorFeedBlock::defaultConfiguration()
Gets default configuration for this plugin.
Return value
array An associative array with the default configuration.
Overrides BlockBase::defaultConfiguration
File
- core/
modules/ aggregator/ src/ Plugin/ Block/ AggregatorFeedBlock.php, line 95 - Contains \Drupal\aggregator\Plugin\Block\AggregatorFeedBlock.
Class
- AggregatorFeedBlock
- Provides an 'Aggregator feed' block with the latest items from the feed.
Namespace
Drupal\aggregator\Plugin\BlockCode
public function defaultConfiguration() {
// By default, the block will contain 10 feed items.
return array(
'block_count' => 10,
'feed' => NULL,
);
}