1 views.theme.inc template_preprocess_views_view_row_rss(&$variables)

Default theme function for all RSS rows.

File

core/modules/views/templates/views.theme.inc, line 1026
Preprocessors and helper functions to make theme development easier.

Code

function template_preprocess_views_view_row_rss(&$variables) {
  $view = &$variables['view'];
  $options = &$variables['options'];
  $item = &$variables['row'];

  $variables['title'] = check_plain($item->title);
  $variables['link'] = check_url($item->link);
  $variables['description'] = check_plain($item->description);
  $variables['item_elements'] = empty($item->elements) ? '' : format_xml_elements($item->elements);
}