public function Rss::buildOptionsForm in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/views/src/Plugin/views/style/Rss.php \Drupal\views\Plugin\views\style\Rss::buildOptionsForm()
Provide a form to edit options for this plugin.
Overrides StylePluginBase::buildOptionsForm
File
- core/
modules/ views/ src/ Plugin/ views/ style/ Rss.php, line 69 - Contains \Drupal\views\Plugin\views\style\Rss.
Class
- Rss
- Default style plugin to render an RSS feed.
Namespace
Drupal\views\Plugin\views\styleCode
public function buildOptionsForm(&$form, FormStateInterface $form_state) {
parent::buildOptionsForm($form, $form_state);
$form['description'] = array(
'#type' => 'textfield',
'#title' => $this
->t('RSS description'),
'#default_value' => $this->options['description'],
'#description' => $this
->t('This will appear in the RSS feed itself.'),
'#maxlength' => 1024,
);
}