Issue #3011482 by thalles, idebr, amietpatial: Drupal dependency injection on file PathautoSettingsForm.php