function _announcements_feed_preprocess_item

Helper to preprocess individual announcement items.

1 call to _announcements_feed_preprocess_item()
template_preprocess_announcements_feed in modules/announcements_feed/announcements_feed.module
Processes variables for announcements-feed.tpl.php.

File

modules/announcements_feed/announcements_feed.module, line 126

Code

function _announcements_feed_preprocess_item(&$item) {
    $item['title'] = filter_xss($item['title']);
    $item['teaser'] = filter_xss($item['teaser']);
    $item['link'] = check_url($item['link']);
    $item['date_modified'] = check_plain($item['date_modified']);
    $item['date_published'] = check_plain($item['date_published']);
    $item['version'] = check_plain($item['version']);
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.