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/node/src/Plugin/views/row/Rss.php \Drupal\node\Plugin\views\row\Rss::buildOptionsForm_summary_options()

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

Overrides RssPluginBase::buildOptionsForm_summary_options

1 call to Rss::buildOptionsForm_summary_options()
Rss::summaryTitle in core/modules/node/src/Plugin/views/row/Rss.php
Returns the summary of the settings in the display.

File

core/modules/node/src/Plugin/views/row/Rss.php, line 52

Class

Rss
Plugin which performs a node_view on the resulting object and formats it as an RSS item.

Namespace

Drupal\node\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;
}