public function UpdateRunnerUtils::__construct in Scheduled Updates 8
UpdateRunner constructor.
Parameters
\Drupal\Core\Entity\EntityFieldManagerInterface $entityFieldManager:
\Drupal\Core\Entity\EntityTypeBundleInfoInterface $entityTypeBundleInfo:
\Drupal\scheduled_updates\Plugin\UpdateRunnerManager $runnerManager:
\Drupal\scheduled_updates\UpdateUtils $updateUtils:
\Drupal\Core\Config\ConfigFactoryInterface $configFactory:
File
- src/
UpdateRunnerUtils.php, line 52 - Contains \Drupal\scheduled_updates\UpdateRunnerUtils.
Class
- UpdateRunnerUtils
- A service that runs all available updaters
Namespace
Drupal\scheduled_updatesCode
public function __construct(EntityFieldManagerInterface $entityFieldManager, EntityTypeBundleInfoInterface $entityTypeBundleInfo, UpdateRunnerManager $runnerManager, UpdateUtils $updateUtils, ConfigFactoryInterface $configFactory) {
$this->entityFieldManager = $entityFieldManager;
$this->entityTypeBundleInfo = $entityTypeBundleInfo;
$this->runnerManager = $runnerManager;
$this->updateUtils = $updateUtils;
$this->config = $configFactory
->get('scheduled_updates.settings');
}