protected function Comment::display_options_row

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

2 calls to Comment::display_options_row()
Comment::blockDisplayOptions in drupal/core/modules/comment/lib/Drupal/comment/Plugin/views/wizard/Comment.php
Overrides Drupal\views\Plugin\views\wizard\WizardPluginBase::blockDisplayOptions().
Comment::pageDisplayOptions in drupal/core/modules/comment/lib/Drupal/comment/Plugin/views/wizard/Comment.php
Retrieves the page display options.

File

drupal/core/modules/comment/lib/Drupal/comment/Plugin/views/wizard/Comment.php, line 127
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 display_options_row(&$display_options, $row_plugin, $row_options) {
  switch ($row_plugin) {
    case 'comment':
      $display_options['row']['type'] = 'entity:comment';
      $display_options['row']['options']['links'] = !empty($row_options['links']);
      break;
  }
}