function template_preprocess_announcements_feed
Processes variables for announcements-feed.tpl.php.
See also
File
-
modules/
announcements_feed/ announcements_feed.module, line 107
Code
function template_preprocess_announcements_feed(&$variables) {
if (!empty($variables['featured'])) {
foreach ($variables['featured'] as &$announcement) {
_announcements_feed_preprocess_item($announcement);
}
}
if (!empty($variables['standard'])) {
foreach ($variables['standard'] as &$announcement) {
_announcements_feed_preprocess_item($announcement);
}
}
if (isset($variables['feed_link'])) {
$variables['feed_link'] = check_url($variables['feed_link']);
}
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.