You are here

public function BookNavigationBlock::defaultConfiguration in Zircon Profile 8

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

Gets default configuration for this plugin.

Return value

array An associative array with the default configuration.

Overrides BlockBase::defaultConfiguration

File

core/modules/book/src/Plugin/Block/BookNavigationBlock.php, line 92
Contains \Drupal\book\Plugin\Block\BookNavigationBlock.

Class

BookNavigationBlock
Provides a 'Book navigation' block.

Namespace

Drupal\book\Plugin\Block

Code

public function defaultConfiguration() {
  return array(
    'block_mode' => "all pages",
  );
}