예제 #1
0
 /**
  * {@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);
     }
 }
예제 #2
0
 /**
  * {@inheritdoc}
  */
 public function getCacheContexts()
 {
     $contexts = $this->view->display_handler->getCacheMetadata()->getCacheContexts();
     return Cache::mergeContexts(parent::getCacheContexts(), $contexts);
 }