You are here

public function MediaBundleForm::__construct in Media entity 8

Constructs a new class instance.

Parameters

\Drupal\media_entity\MediaTypeManager $media_type_manager: Media type manager.

File

src/MediaBundleForm.php, line 46

Class

MediaBundleForm
Form controller for node type forms.

Namespace

Drupal\media_entity

Code

public function __construct(MediaTypeManager $media_type_manager, EntityFieldManagerInterface $entity_field_manager) {
  $this->mediaTypeManager = $media_type_manager;
  $this->entityFieldManager = $entity_field_manager;
}