public function SystemMenuBlock::defaultConfiguration in Drupal 8
Same name and namespace in other branches
- 9 core/modules/system/src/Plugin/Block/SystemMenuBlock.php \Drupal\system\Plugin\Block\SystemMenuBlock::defaultConfiguration()
Overrides BlockPluginTrait::defaultConfiguration
1 call to SystemMenuBlock::defaultConfiguration()
- SystemMenuBlock::blockForm in core/
modules/ system/ src/ Plugin/ Block/ SystemMenuBlock.php
File
- core/
modules/ system/ src/ Plugin/ Block/ SystemMenuBlock.php, line 204
Class
- SystemMenuBlock
- Provides a generic Menu block.
Namespace
Drupal\system\Plugin\BlockCode
public function defaultConfiguration() {
return [
'level' => 1,
'depth' => 0,
'expand_all_items' => FALSE,
];
}