function ForumBlockBase::defaultConfiguration

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

Overrides BlockPluginTrait::defaultConfiguration

File

core/modules/forum/src/Plugin/Block/ForumBlockBase.php, line 45

Class

ForumBlockBase
Provides a base class for Forum blocks.

Namespace

Drupal\forum\Plugin\Block

Code

public function defaultConfiguration() {
    return [
        'properties' => [
            'administrative' => TRUE,
        ],
        'block_count' => 5,
    ];
}

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