diff --git a/core/modules/aggregator/lib/Drupal/aggregator/Routing/AggregatorController.php b/core/modules/aggregator/lib/Drupal/aggregator/Routing/AggregatorController.php index fc0a926..65cbcec 100644 --- a/core/modules/aggregator/lib/Drupal/aggregator/Routing/AggregatorController.php +++ b/core/modules/aggregator/lib/Drupal/aggregator/Routing/AggregatorController.php @@ -80,7 +80,7 @@ public function sources() { $feeds = $this->entityManager->getStorageController('aggregator_feed')->load(); - // TODO move included functions to controller. + // @todo remove this once all callbacks are converted. module_load_include('inc', 'aggregator', 'aggregator.pages'); $build = array( @@ -92,13 +92,13 @@ public function sources() { // Most recent items: $summary_items = array(); $aggregator_summary_items = $this->configFactory - ->get('aggregator.settings') - ->get('source.list_max'); + ->get('aggregator.settings') + ->get('source.list_max'); if ($aggregator_summary_items) { if ($items = aggregator_load_feed_items('source', $feed, $aggregator_summary_items)) { $summary_items = $this->entityManager - ->getRenderController('aggregator_item') - ->viewMultiple($items, 'summary'); + ->getRenderController('aggregator_item') + ->viewMultiple($items, 'summary'); } } $feed->url = url('aggregator/sources/' . $feed->id());