Issue #2008970 by markie, StephaneQ, adamcowboy | thedavidmeister: Replace theme() with drupal_render() in aggregator module.
parent
c379479e29
commit
193f1f5c38
|
@ -157,7 +157,7 @@ function _aggregator_page_list($items, $op, $feed_source = '') {
|
|||
$build['feed_source'] = is_array($feed_source) ? $feed_source : array('#markup' => $feed_source);
|
||||
if ($items) {
|
||||
$build['items'] = entity_view_multiple($items, 'default');
|
||||
$build['pager']['#markup'] = theme('pager');
|
||||
$build['pager'] = array('#theme' => 'pager');
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -99,11 +99,13 @@ class Rss extends RowPluginBase {
|
|||
),
|
||||
);
|
||||
|
||||
return theme($this->themeFunctions(), array(
|
||||
'view' => $this->view,
|
||||
'options' => $this->options,
|
||||
'row' => $item,
|
||||
));
|
||||
$build = array(
|
||||
'#theme' => $this->themeFunctions(),
|
||||
'#view' => $this->view,
|
||||
'#options' => $this->options,
|
||||
'#row' => $item,
|
||||
);
|
||||
return drupal_render($build);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue