public function RssPluginBase::buildOptionsForm in Drupal 10
Same name and namespace in other branches
- 8 core/modules/views/src/Plugin/views/row/RssPluginBase.php \Drupal\views\Plugin\views\row\RssPluginBase::buildOptionsForm()
- 9 core/modules/views/src/Plugin/views/row/RssPluginBase.php \Drupal\views\Plugin\views\row\RssPluginBase::buildOptionsForm()
File
- core/
modules/ views/ src/ Plugin/ views/ row/ RssPluginBase.php, line 84
Class
- RssPluginBase
- Base class for Views RSS row plugins.
Namespace
Drupal\views\Plugin\views\rowCode
public function buildOptionsForm(&$form, FormStateInterface $form_state) {
parent::buildOptionsForm($form, $form_state);
$form['view_mode'] = [
'#type' => 'select',
'#title' => $this
->t('Display type'),
'#options' => $this
->buildOptionsForm_summary_options(),
'#default_value' => $this->options['view_mode'],
];
}