function MediaTypeForm::create
Same name in other branches
- 8.9.x core/modules/media/src/MediaTypeForm.php \Drupal\media\MediaTypeForm::create()
- 10 core/modules/media/src/MediaTypeForm.php \Drupal\media\MediaTypeForm::create()
- 11.x core/modules/media/src/MediaTypeForm.php \Drupal\media\MediaTypeForm::create()
Overrides FormBase::create
File
-
core/
modules/ media/ src/ MediaTypeForm.php, line 65
Class
- MediaTypeForm
- Form controller for media type forms.
Namespace
Drupal\mediaCode
public static function create(ContainerInterface $container) {
return new static($container->get('plugin.manager.media.source'), $container->get('entity_field.manager'), $container->get('entity_display.repository'));
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.