1 views_ui_comment_views_wizard.php protected ViewsUiCommentViewsWizard::block_display_options($form, $form_state)

Overrides ViewsUiBaseViewsWizard::block_display_options

File

core/modules/views_ui/wizards/views_ui_comment_views_wizard.php, line 52
Definition of ViewsUiCommentViewsWizard.

Class

ViewsUiCommentViewsWizard
Tests creating comment views with the wizard.

Code

protected function block_display_options($form, $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;
}