function MediaDevelGenerate::create
Same name in other branches
- 5.x devel_generate/src/Plugin/DevelGenerate/MediaDevelGenerate.php \Drupal\devel_generate\Plugin\DevelGenerate\MediaDevelGenerate::create()
Overrides ContainerFactoryPluginInterface::create
File
-
devel_generate/
src/ Plugin/ DevelGenerate/ MediaDevelGenerate.php, line 136
Class
- MediaDevelGenerate
- Provides a plugin that generates media entities.
Namespace
Drupal\devel_generate\Plugin\DevelGenerateCode
public static function create(ContainerInterface $container, array $configuration, $plugin_id, $plugin_definition) {
return new static($configuration, $plugin_id, $plugin_definition, $container->get('entity_type.manager'), $container->get('language_manager'), $container->get('url_generator'), $container->get('date.formatter'), $container->get('datetime.time'));
}