function UserDevelGenerate::create
Same name in other branches
- 5.x devel_generate/src/Plugin/DevelGenerate/UserDevelGenerate.php \Drupal\devel_generate\Plugin\DevelGenerate\UserDevelGenerate::create()
Overrides ContainerFactoryPluginInterface::create
File
-
devel_generate/
src/ Plugin/ DevelGenerate/ UserDevelGenerate.php, line 81
Class
- UserDevelGenerate
- Provides a UserDevelGenerate plugin.
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')
->getStorage('user'), $container->get('date.formatter'), $container->get('datetime.time'));
}