Issue #2008970 by markie, StephaneQ, adamcowboy | thedavidmeister: Replace theme() with drupal_render() in aggregator module.

8.0.x
webchick 2013-08-06 23:35:04 -07:00
parent c379479e29
commit 193f1f5c38
2 changed files with 8 additions and 6 deletions

View File

@ -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');
}
}

View File

@ -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);
}
}