protected function ViewsUiCommentViewsWizard::display_options_row

3.x views_ui_comment_views_wizard.class.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

plugins/views_wizard/views_ui_comment_views_wizard.class.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;
  }
}