You are here

public function ForumBlockBase::defaultConfiguration in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/forum/src/Plugin/Block/ForumBlockBase.php \Drupal\forum\Plugin\Block\ForumBlockBase::defaultConfiguration()

Gets default configuration for this plugin.

Return value

array An associative array with the default configuration.

Overrides BlockBase::defaultConfiguration

File

core/modules/forum/src/Plugin/Block/ForumBlockBase.php, line 50
Contains \Drupal\forum\Plugin\Block\ForumBlockBase.

Class

ForumBlockBase
Provides a base class for Forum blocks.

Namespace

Drupal\forum\Plugin\Block

Code

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