You are here

public function SystemMenuBlock::defaultConfiguration in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/system/src/Plugin/Block/SystemMenuBlock.php \Drupal\system\Plugin\Block\SystemMenuBlock::defaultConfiguration()
  2. 9 core/modules/system/src/Plugin/Block/SystemMenuBlock.php \Drupal\system\Plugin\Block\SystemMenuBlock::defaultConfiguration()

File

core/modules/system/src/Plugin/Block/SystemMenuBlock.php, line 200

Class

SystemMenuBlock
Provides a generic Menu block.

Namespace

Drupal\system\Plugin\Block

Code

public function defaultConfiguration() {
  return [
    'level' => 1,
    'depth' => 0,
    'expand_all_items' => FALSE,
  ];
}