You are here

public function ViewsBlock::blockSubmit in Drupal 9

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

Overrides ViewsBlockBase::blockSubmit

File

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

Class

ViewsBlock
Provides a generic Views block.

Namespace

Drupal\views\Plugin\Block

Code

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