Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. SyndicateBlock.php

function 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,
    ];
}
RSS feed
Powered by Drupal