function BookNavigationBlock::blockSubmit
Same name in other branches
- 8.9.x core/modules/book/src/Plugin/Block/BookNavigationBlock.php \Drupal\book\Plugin\Block\BookNavigationBlock::blockSubmit()
- 10 core/modules/book/src/Plugin/Block/BookNavigationBlock.php \Drupal\book\Plugin\Block\BookNavigationBlock::blockSubmit()
- 11.x core/modules/book/src/Plugin/Block/BookNavigationBlock.php \Drupal\book\Plugin\Block\BookNavigationBlock::blockSubmit()
Overrides BlockPluginTrait::blockSubmit
File
-
core/
modules/ book/ src/ Plugin/ Block/ BookNavigationBlock.php, line 116
Class
- BookNavigationBlock
- Provides a 'Book navigation' block.
Namespace
Drupal\book\Plugin\BlockCode
public function blockSubmit($form, FormStateInterface $form_state) {
$this->configuration['block_mode'] = $form_state->getValue('book_block_mode');
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.