public function MediaGalleryImportForm::__construct in Media Gallery 8
Constructs a new MediaGalleryImportForm object.
Parameters
\Drupal\Core\File\FileSystemInterface $file_system_interface: FileSystemInterface.
\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: EntityTypeManagerInterface.
File
- modules/
media_gallery_import/ src/ Form/ MediaGalleryImportForm.php, line 40
Class
- MediaGalleryImportForm
- Defines a Media Gallery Import Form.
Namespace
Drupal\media_gallery_import\FormCode
public function __construct(FileSystemInterface $file_system_interface, EntityTypeManagerInterface $entity_type_manager) {
$this->fileSystemInterface = $file_system_interface;
$this->entityTypeManager = $entity_type_manager;
}