function NavigationMenuBlock::defaultConfiguration
Same name in other branches
- 11.x core/modules/navigation/src/Plugin/Block/NavigationMenuBlock.php \Drupal\navigation\Plugin\Block\NavigationMenuBlock::defaultConfiguration()
Overrides SystemMenuBlock::defaultConfiguration
File
-
core/
modules/ navigation/ src/ Plugin/ Block/ NavigationMenuBlock.php, line 47
Class
- NavigationMenuBlock
- Provides a generic menu navigation block.
Namespace
Drupal\navigation\Plugin\BlockCode
public function defaultConfiguration() : array {
return [
'level' => 1,
'depth' => 0,
];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.