Skip to content
Snippets Groups Projects
Commit 74147ee8 authored by Jonas's avatar Jonas
Browse files

#3423414: Remove deprecated code and updated drupal root path retrieval

parent 9a31742c
Branches
Tags 2.3.0
1 merge request!2#3423414: Remove deprecated code and updated drupal root path retrieval
......@@ -32,6 +32,13 @@ class LoggerFileForm extends PluginFormBase implements ContainerInjectionInterfa
* @var \Drupal\Core\File\FileSystemInterface
*/
protected $fileSystem;
/**
* The Drupal root directory.
*
* @var string
*/
protected $drupalRoot;
/**
* Creates a config form for a file logger.
......@@ -60,7 +67,7 @@ class LoggerFileForm extends PluginFormBase implements ContainerInjectionInterfa
$container->get('plugin.manager.monitoring_file_log_formatter'),
$container->get('string_translation'),
$container->get('file_system'),
$container->get('app.root')
$container->getParameter('app.root')
);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment