diff --git a/core/modules/config/src/Controller/ConfigController.php b/core/modules/config/src/Controller/ConfigController.php index 945fbb7dc5..f3cd9825fc 100644 --- a/core/modules/config/src/Controller/ConfigController.php +++ b/core/modules/config/src/Controller/ConfigController.php @@ -6,7 +6,7 @@ use Drupal\Core\Config\ConfigManagerInterface; use Drupal\Core\Config\ImportStorageTransformer; use Drupal\Core\Config\StorageInterface; -use Drupal\Core\DependencyInjection\ContainerInjectionInterface; +use Drupal\Core\Controller\ControllerBase; use Drupal\Core\Diff\DiffFormatter; use Drupal\Core\File\Exception\FileException; use Drupal\Core\File\FileSystemInterface; @@ -15,13 +15,11 @@ use Drupal\system\FileDownloadController; use Symfony\Component\DependencyInjection\ContainerInterface; use Symfony\Component\HttpFoundation\Request; -use Drupal\Core\StringTranslation\StringTranslationTrait; /** * Returns responses for config module routes. */ -class ConfigController implements ContainerInjectionInterface { - use StringTranslationTrait; +class ConfigController extends ControllerBase { /** * The target storage.