public function View::buildOptionsForm in Views (for Drupal 7) 8.3
Same name in this branch
- 8.3 lib/Views/node/Plugin/views/row/View.php \Views\node\Plugin\views\row\View::buildOptionsForm()
- 8.3 lib/Views/comment/Plugin/views/row/View.php \Views\comment\Plugin\views\row\View::buildOptionsForm()
- 8.3 lib/Views/search/Plugin/views/row/View.php \Views\search\Plugin\views\row\View::buildOptionsForm()
- 8.3 lib/Drupal/views/Plugin/views/area/View.php \Drupal\views\Plugin\views\area\View::buildOptionsForm()
Overrides Views\system\Plugin\views\row\Entity::buildOptionsForm().
Overrides Entity::buildOptionsForm
File
- lib/
Views/ comment/ Plugin/ views/ row/ View.php, line 43 - Definition of Views\comment\Plugin\views\row\View.
Class
- View
- Plugin which performs a comment_view on the resulting object.
Namespace
Views\comment\Plugin\views\rowCode
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'],
);
}