Example #1
0
 /**
  * Overrides Drupal\views\Plugin\views\wizard\WizardPluginBase::blockDisplayOptions().
  */
 protected function blockDisplayOptions(array $form, FormStateInterface $form_state)
 {
     $display_options = parent::blockDisplayOptions($form, $form_state);
     $row_plugin = isset($form_state['values']['block']['style']['row_plugin']) ? $form_state['values']['block']['style']['row_plugin'] : NULL;
     $row_options = isset($form_state['values']['block']['style']['row_options']) ? $form_state['values']['block']['style']['row_options'] : array();
     $this->display_options_row($display_options, $row_plugin, $row_options);
     return $display_options;
 }
 /**
  * Overrides Drupal\views\Plugin\views\wizard\WizardPluginBase::blockDisplayOptions().
  */
 protected function blockDisplayOptions(array $form, FormStateInterface $form_state)
 {
     $display_options = parent::blockDisplayOptions($form, $form_state);
     $row_plugin = $form_state->getValue(array('block', 'style', 'row_plugin'));
     $row_options = $form_state->getValue(array('block', 'style', 'row_options'), array());
     $this->display_options_row($display_options, $row_plugin, $row_options);
     return $display_options;
 }