public function AggregatorController::__construct

Constructs a \Drupal\aggregator\Controller\AggregatorController object.

Parameters

\Drupal\Core\Entity\EntityManager $entity_manager: The Entity manager.

\Drupal\Core\Config\ConfigFactory $config_factory: The config factory.

\Drupal\Core\Database\Connection $database: The database connection.

\Drupal\Core\Extension\ModuleHandlerInterface $module_handler: The module handler.

File

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

Class

AggregatorController
Returns responses for aggregator module routes.

Namespace

Drupal\aggregator\Controller

Code

public function __construct(EntityManager $entity_manager, Connection $database, ConfigFactory $config_factory, ModuleHandlerInterface $module_handler) {
  $this->entityManager = $entity_manager;
  $this->database = $database;
  $this->configFactory = $config_factory;
  $this->moduleHandler = $module_handler;
}