You are here

protected function Comment::block_display_options in Views (for Drupal 7) 8.3

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

Overrides WizardPluginBase::block_display_options

File

lib/Views/comment/Plugin/views/wizard/Comment.php, line 116
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 block_display_options(array $form, array &$form_state) {
  $display_options = parent::block_display_options($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;
}