You are here

protected function ViewsUiCommentViewsWizard::display_options_row in Views (for Drupal 7) 7.3

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

2 calls to ViewsUiCommentViewsWizard::display_options_row()
ViewsUiCommentViewsWizard::block_display_options in plugins/views_wizard/views_ui_comment_views_wizard.class.php
ViewsUiCommentViewsWizard::page_display_options in plugins/views_wizard/views_ui_comment_views_wizard.class.php

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