public function Fixed::buildOptionsForm in Views (for Drupal 7) 8.3
Provide the default form for setting options.
Overrides ArgumentDefaultPluginBase::buildOptionsForm
File
- lib/
Drupal/ views/ Plugin/ views/ argument_default/ Fixed.php, line 32 - Definition of Drupal\views\Plugin\views\argument_default\Fixed.
Class
- Fixed
- The fixed argument default handler.
Namespace
Drupal\views\Plugin\views\argument_defaultCode
public function buildOptionsForm(&$form, &$form_state) {
parent::buildOptionsForm($form, $form_state);
$form['argument'] = array(
'#type' => 'textfield',
'#title' => t('Fixed value'),
'#default_value' => $this->options['argument'],
);
}