You are here

protected function Node::page_display_options in Views (for Drupal 7) 8.3

Overrides Drupal\views\Plugin\views\wizard\WizardPluginBase::page_display_options().

Overrides WizardPluginBase::page_display_options

File

lib/Views/node/Plugin/views/wizard/Node.php, line 197
Definition of Views\node\Plugin\views\wizard\Node.

Class

Node
Tests creating node views with the wizard.

Namespace

Views\node\Plugin\views\wizard

Code

protected function page_display_options(array $form, array &$form_state) {
  $display_options = parent::page_display_options($form, $form_state);
  $row_plugin = isset($form_state['values']['page']['style']['row_plugin']) ? $form_state['values']['page']['style']['row_plugin'] : NULL;
  $row_options = isset($form_state['values']['page']['style']['row_options']) ? $form_state['values']['page']['style']['row_options'] : array();
  $this
    ->display_options_row($display_options, $row_plugin, $row_options);
  return $display_options;
}