function BookNavigationBlock::defaultConfiguration

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

Overrides BlockPluginTrait::defaultConfiguration

File

core/modules/book/src/Plugin/Block/BookNavigationBlock.php, line 88

Class

BookNavigationBlock
Provides a 'Book navigation' block.

Namespace

Drupal\book\Plugin\Block

Code

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

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