You are here

public function ViewsBlock::blockValidate in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/views/src/Plugin/Block/ViewsBlock.php \Drupal\views\Plugin\Block\ViewsBlock::blockValidate()
  2. 9 core/modules/views/src/Plugin/Block/ViewsBlock.php \Drupal\views\Plugin\Block\ViewsBlock::blockValidate()

File

core/modules/views/src/Plugin/Block/ViewsBlock.php, line 126

Class

ViewsBlock
Provides a generic Views block.

Namespace

Drupal\views\Plugin\Block

Code

public function blockValidate($form, FormStateInterface $form_state) {
  if ($this->displaySet) {
    $this->view->display_handler
      ->blockValidate($this, $form, $form_state);
  }
}