public function RssPluginBase::buildOptionsForm in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/views/src/Plugin/views/row/RssPluginBase.php \Drupal\views\Plugin\views\row\RssPluginBase::buildOptionsForm()
Provide a form for setting options.
Overrides RowPluginBase::buildOptionsForm
File
- core/
modules/ views/ src/ Plugin/ views/ row/ RssPluginBase.php, line 77 - Contains \Drupal\views\Plugin\views\row\RssPluginBase.
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'] = array(
'#type' => 'select',
'#title' => $this
->t('Display type'),
'#options' => $this
->buildOptionsForm_summary_options(),
'#default_value' => $this->options['view_mode'],
);
}