function adaptivetheme_preprocess_aggregator_item

cis7 preprocess.inc adaptivetheme_preprocess_aggregator_item(&$vars)
cle7 preprocess.inc adaptivetheme_preprocess_aggregator_item(&$vars)
elmsmedia7 preprocess.inc adaptivetheme_preprocess_aggregator_item(&$vars)
icor7 preprocess.inc adaptivetheme_preprocess_aggregator_item(&$vars)
meedjum_blog7 preprocess.inc adaptivetheme_preprocess_aggregator_item(&$vars)
mooc7 preprocess.inc adaptivetheme_preprocess_aggregator_item(&$vars)

Preprocess variables for aggregator-item.tpl.php

File

sites/all/themes/ulmus/adaptivetheme/at_core/inc/preprocess.inc, line 863
All Preprocess functions for templates and theme fucntions. If you need to add or modify preprocess functions do it in your sub-theme.

Code

function adaptivetheme_preprocess_aggregator_item(&$vars) {
  $item = $vars['item'];
  // We want the same highly accurate time stamp feature as nodes and comments
  $vars['datetime'] = format_date($item->timestamp, 'custom', 'Y-m-d\TH:i:sO');
  // Give our aggregator items some class
  $vars['classes_array'][] = 'feed-item clearfix';
  $vars['title_attributes_array']['class'][] = 'title feed-item-title';
  $vars['content_attributes_array']['class'][] = 'content feed-item-content';
}