You are here

protected function Comment::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/comment/Plugin/views/wizard/Comment.php, line 105
Definition of Views\node\Plugin\views\wizard\Comment.

Class

Comment
Tests creating comment views with the wizard.

Namespace

Views\comment\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;
}