public static function AggregatorController::create

{inheritdoc}

Overrides ControllerInterface::create

File

drupal/core/modules/aggregator/lib/Drupal/aggregator/Controller/AggregatorController.php, line 78
Contains \Drupal\aggregator\Controller\AggregatorController.

Class

AggregatorController
Returns responses for aggregator module routes.

Namespace

Drupal\aggregator\Controller

Code

public static function create(ContainerInterface $container) {
  return new static($container
    ->get('plugin.manager.entity'), $container
    ->get('database'), $container
    ->get('config.factory'), $container
    ->get('module_handler'));
}