You are here

public function SyndicateBlock::defaultConfiguration in Drupal 10

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