function Block::blockValidate
Same name in other branches
- 9 core/modules/views/src/Plugin/views/display/Block.php \Drupal\views\Plugin\views\display\Block::blockValidate()
- 10 core/modules/views/src/Plugin/views/display/Block.php \Drupal\views\Plugin\views\display\Block::blockValidate()
- 11.x core/modules/views/src/Plugin/views/display/Block.php \Drupal\views\Plugin\views\display\Block::blockValidate()
Handles form validation for the views block configuration form.
Parameters
\Drupal\views\Plugin\Block\ViewsBlock $block: The ViewsBlock plugin.
array $form: The form definition array for the block configuration form.
\Drupal\Core\Form\FormStateInterface $form_state: The current state of the form.
See also
\Drupal\views\Plugin\Block\ViewsBlock::blockValidate()
File
-
core/
modules/ views/ src/ Plugin/ views/ display/ Block.php, line 343
Class
- Block
- The plugin that handles a block.
Namespace
Drupal\views\Plugin\views\displayCode
public function blockValidate(ViewsBlock $block, array $form, FormStateInterface $form_state) {
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.