/** * {@inheritdoc} */ public function blockSubmit($form, FormStateInterface $form_state) { parent::blockSubmit($form, $form_state); if ($this->displaySet) { $this->view->display_handler->blockSubmit($this, $form, $form_state); } }
/** * {@inheritdoc} */ public function getCacheContexts() { $contexts = $this->view->display_handler->getCacheMetadata()->getCacheContexts(); return Cache::mergeContexts(parent::getCacheContexts(), $contexts); }