function ConfigDeleteForm::create
Overrides FormBase::create
File
-
src/
Form/ ConfigDeleteForm.php, line 26
Class
- ConfigDeleteForm
- Edit config variable form.
Namespace
Drupal\devel\FormCode
public static function create(ContainerInterface $container) : static {
$instance = parent::create($container);
$instance->messenger = $container->get('messenger');
$instance->logger = $container->get('logger.channel.devel');
$instance->configFactory = $container->get('config.factory');
$instance->requestStack = $container->get('request_stack');
$instance->stringTranslation = $container->get('string_translation');
return $instance;
}