You are here

public function Update400::__construct in Lightning Media 8.4

Same name in this branch
  1. 8.4 src/Update/Update400.php \Drupal\lightning_media\Update\Update400::__construct()
  2. 8.4 modules/lightning_media_document/src/Update/Update400.php \Drupal\lightning_media_document\Update\Update400::__construct()

Update400 constructor.

Parameters

\Drupal\Core\Entity\EntityStorageInterface $field_storage: The field config entity storage handler.

\Drupal\Core\Entity\EntityStorageInterface $media_type_storage: The media type entity storage handler.

File

modules/lightning_media_document/src/Update/Update400.php, line 42

Class

Update400
Contains configuration updates targeting Lightning Media Document 4.0.0.

Namespace

Drupal\lightning_media_document\Update

Code

public function __construct(EntityStorageInterface $field_storage, EntityStorageInterface $media_type_storage) {
  $this->fieldStorage = $field_storage;
  $this->mediaTypeStorage = $media_type_storage;
}