diff --git a/core/modules/aggregator/lib/Drupal/aggregator/Routing/AggregatorController.php b/core/modules/aggregator/lib/Drupal/aggregator/Routing/AggregatorController.php index 8badecc..561f1b1 100644 --- a/core/modules/aggregator/lib/Drupal/aggregator/Routing/AggregatorController.php +++ b/core/modules/aggregator/lib/Drupal/aggregator/Routing/AggregatorController.php @@ -175,8 +175,9 @@ public function sources() { $feeds = $this->entityManager->getStorageController('aggregator_feed')->load(); - // @todo remove this once all callbacks are converted. - module_load_include('inc', 'aggregator', 'aggregator.pages'); + // @todo remove this once aggregator_load_feed_items() is refactored after + // http://drupal.org/node/15266 is in. + Drupal::moduleHandler()->loadInclude('aggregator', 'inc', 'aggregator.pages'); $build = array( '#type' => 'container',