function NavigationMenuBlock::blockSubmit
Same name in other branches
- 10 core/modules/navigation/src/Plugin/Block/NavigationMenuBlock.php \Drupal\navigation\Plugin\Block\NavigationMenuBlock::blockSubmit()
Overrides SystemMenuBlock::blockSubmit
File
-
core/
modules/ navigation/ src/ Plugin/ Block/ NavigationMenuBlock.php, line 68
Class
- NavigationMenuBlock
- Provides a generic menu navigation block.
Namespace
Drupal\navigation\Plugin\BlockCode
public function blockSubmit($form, FormStateInterface $form_state) : void {
$this->configuration['level'] = $form_state->getValue('level');
$this->configuration['depth'] = $form_state->getValue('depth');
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.