protected function CommentRow::defineOptions

Overrides Drupal\system\Plugin\views\row\Entity::defineOptions().

Overrides EntityRow::defineOptions

File

drupal/core/modules/comment/lib/Drupal/comment/Plugin/views/row/CommentRow.php, line 33
Definition of Drupal\comment\Plugin\views\row\CommentRow.

Class

CommentRow
Plugin which performs a comment_view on the resulting object.

Namespace

Drupal\comment\Plugin\views\row

Code

protected function defineOptions() {
  $options = parent::defineOptions();
  $options['links'] = array(
    'default' => TRUE,
  );
  $options['view_mode']['default'] = 'full';
  return $options;
}