protected function Comment::block_display_options

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

Overrides WizardPluginBase::block_display_options

File

drupal/core/modules/comment/lib/Drupal/comment/Plugin/views/wizard/Comment.php, line 116
Definition of Drupal\node\Plugin\views\wizard\Comment.

Class

Comment
Tests creating comment views with the wizard.

Namespace

Drupal\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;
}