public function NodeRow::buildOptionsForm

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

Overrides EntityRow::buildOptionsForm

File

drupal/core/modules/node/lib/Drupal/node/Plugin/views/row/NodeRow.php, line 38
Contains \Drupal\node\Plugin\views\row\NodeRow.

Class

NodeRow
Plugin which performs a node_view on the resulting object.

Namespace

Drupal\node\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'],
  );
  $form['comments'] = array(
    '#type' => 'checkbox',
    '#title' => t('Display comments'),
    '#default_value' => $this->options['comments'],
  );
}