You are here

public function Update240::__construct in Lightning Media 8.4

Same name and namespace in other branches
  1. 8.2 src/Update/Update240.php \Drupal\lightning_media\Update\Update240::__construct()
  2. 8.3 src/Update/Update240.php \Drupal\lightning_media\Update\Update240::__construct()

Update240 constructor.

Parameters

\Drupal\Core\Entity\EntityStorageInterface $field_config_storage: The field config storage.

\Drupal\Core\Extension\ModuleInstallerInterface $module_installer: The module installer service.

File

src/Update/Update240.php, line 39

Class

Update240
Contains optional updates targeting Lightning Media 2.4.0.

Namespace

Drupal\lightning_media\Update

Code

public function __construct(EntityStorageInterface $field_config_storage, ModuleInstallerInterface $module_installer) {
  $this->fieldConfigStorage = $field_config_storage;
  $this->moduleInstaller = $module_installer;
}