public function CommentRow::buildOptionsForm

Overrides Drupal\views\Plugin\views\row\RowPluginBase::buildOptionsForm().

Overrides EntityRow::buildOptionsForm

File

drupal/core/modules/comment/lib/Drupal/comment/Plugin/views/row/CommentRow.php, line 30
Contains \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

public function buildOptionsForm(&$form, &$form_state) {
  parent::buildOptionsForm($form, $form_state);
  $form['links'] = array(
    '#type' => 'checkbox',
    '#title' => t('Display links'),
    '#default_value' => $this->options['links'],
  );
}