You are here

public function EmbeddedImagesCollector::__construct in Dependency Calculation 8

EmbeddedImagesCollector constructor.

Parameters

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

\Drupal\Core\Extension\ModuleHandlerInterface $module_handler: Module handler.

File

src/EventSubscriber/DependencyCollector/EmbeddedImagesCollector.php, line 44

Class

EmbeddedImagesCollector
Class EmbeddedImagesCollector.

Namespace

Drupal\depcalc\EventSubscriber\DependencyCollector

Code

public function __construct(Connection $database, ModuleHandlerInterface $module_handler) {
  $this->database = $database;
  $this->moduleHandler = $module_handler;
}