You are here

public function views_plugin_style_rss::get_description in Views (for Drupal 7) 7.3

Same name and namespace in other branches
  1. 6.3 plugins/views_plugin_style_rss.inc \views_plugin_style_rss::get_description()

Get RSS feed description.

Return value

string The string containing the description with the tokens replaced.

File

plugins/views_plugin_style_rss.inc, line 120
Definition of views_plugin_style_rss.

Class

views_plugin_style_rss
Default style plugin to render an RSS feed.

Code

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

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