function SyndicateBlock::defaultConfiguration

Same name in other branches
  1. 9 core/modules/node/src/Plugin/Block/SyndicateBlock.php \Drupal\node\Plugin\Block\SyndicateBlock::defaultConfiguration()
  2. 8.9.x core/modules/node/src/Plugin/Block/SyndicateBlock.php \Drupal\node\Plugin\Block\SyndicateBlock::defaultConfiguration()
  3. 11.x core/modules/node/src/Plugin/Block/SyndicateBlock.php \Drupal\node\Plugin\Block\SyndicateBlock::defaultConfiguration()

Overrides BlockPluginTrait::defaultConfiguration

File

core/modules/node/src/Plugin/Block/SyndicateBlock.php, line 65

Class

SyndicateBlock
Provides a 'Syndicate' block that links to the site's RSS feed.

Namespace

Drupal\node\Plugin\Block

Code

public function defaultConfiguration() {
    return [
        'block_count' => 10,
    ];
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.