You are here

public function ScheduledUpdateAddController::__construct in Scheduled Updates 8

File

src/Controller/ScheduledUpdateAddController.php, line 43
Contains Drupal\scheduled_updates\Controller\ScheduledUpdateAddController.

Class

ScheduledUpdateAddController
Class ScheduledUpdateAddController.

Namespace

Drupal\scheduled_updates\Controller

Code

public function __construct(EntityTypeManagerInterface $entityTypeManager, UpdateRunnerUtils $runnerUtils) {
  $this->storage = $entityTypeManager
    ->getStorage('scheduled_update');
  $this->typeStorage = $entityTypeManager
    ->getStorage('scheduled_update_type');
  $this->runnerUtils = $runnerUtils;
}