1 views_ui_comment_views_wizard.php protected ViewsUiCommentViewsWizard::display_options_row(&$display_options, $row_plugin, $row_options)

Set the row style and row style plugins to the display_options.

File

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

Class

ViewsUiCommentViewsWizard
Tests creating comment views with the wizard.

Code

protected function display_options_row(&$display_options, $row_plugin, $row_options) {
  switch ($row_plugin) {
    case 'comment':
      $display_options['row_plugin'] = 'comment';
      $display_options['row_options']['links'] = !empty($row_options['links']);
      break;
  }
}