function ConfigEditor::create
Overrides FormBase::create
File
-
src/
Form/ ConfigEditor.php, line 33
Class
- ConfigEditor
- 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');
$instance->dumper = $container->get('devel.dumper');
return $instance;
}