function ViewsBlock::blockValidate

Same name in other branches
  1. 9 core/modules/views/src/Plugin/Block/ViewsBlock.php \Drupal\views\Plugin\Block\ViewsBlock::blockValidate()
  2. 8.9.x core/modules/views/src/Plugin/Block/ViewsBlock.php \Drupal\views\Plugin\Block\ViewsBlock::blockValidate()
  3. 10 core/modules/views/src/Plugin/Block/ViewsBlock.php \Drupal\views\Plugin\Block\ViewsBlock::blockValidate()

Overrides BlockPluginTrait::blockValidate

File

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

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);
    }
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.