You are here

public function SyndicateBlock::defaultConfiguration in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/node/src/Plugin/Block/SyndicateBlock.php \Drupal\node\Plugin\Block\SyndicateBlock::defaultConfiguration()
  2. 10 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 64

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,
  ];
}