You are here

public function Rss::getDescription in Zircon Profile 8.0

Same name in this branch
  1. 8.0 vendor/zendframework/zend-feed/src/Reader/Entry/Rss.php \Zend\Feed\Reader\Entry\Rss::getDescription()
  2. 8.0 vendor/zendframework/zend-feed/src/Reader/Feed/Rss.php \Zend\Feed\Reader\Feed\Rss::getDescription()
  3. 8.0 core/modules/views/src/Plugin/views/style/Rss.php \Drupal\views\Plugin\views\style\Rss::getDescription()
Same name and namespace in other branches
  1. 8 core/modules/views/src/Plugin/views/style/Rss.php \Drupal\views\Plugin\views\style\Rss::getDescription()

Get RSS feed description.

Return value

string The string containing the description with the tokens replaced.

File

core/modules/views/src/Plugin/views/style/Rss.php, line 97
Contains \Drupal\views\Plugin\views\style\Rss.

Class

Rss
Default style plugin to render an RSS feed.

Namespace

Drupal\views\Plugin\views\style

Code

public function getDescription() {
  $description = $this->options['description'];

  // Allow substitutions from the first row.
  $description = $this
    ->tokenizeValue($description, 0);
  return $description;
}