You are here

public function Rss::buildOptionsForm_summary_options in Drupal 9

Same name in this branch
  1. 9 core/modules/node/src/Plugin/views/row/Rss.php \Drupal\node\Plugin\views\row\Rss::buildOptionsForm_summary_options()
  2. 9 core/modules/comment/src/Plugin/views/row/Rss.php \Drupal\comment\Plugin\views\row\Rss::buildOptionsForm_summary_options()
Same name and namespace in other branches
  1. 8 core/modules/comment/src/Plugin/views/row/Rss.php \Drupal\comment\Plugin\views\row\Rss::buildOptionsForm_summary_options()

Return the main options, which are shown in the summary title.

Overrides RssPluginBase::buildOptionsForm_summary_options

File

core/modules/comment/src/Plugin/views/row/Rss.php, line 55

Class

Rss
Plugin which formats the comments as RSS items.

Namespace

Drupal\comment\Plugin\views\row

Code

public function buildOptionsForm_summary_options() {
  $options = parent::buildOptionsForm_summary_options();
  $options['title'] = $this
    ->t('Title only');
  $options['default'] = $this
    ->t('Use site default RSS settings');
  return $options;
}