diff --git a/core/core.services.yml b/core/core.services.yml index 04e6ec0a768a7549b8508572881dace4b5cd0e52..86f071cbe602845d313dc90f700710c8d3eb8c8b 100644 --- a/core/core.services.yml +++ b/core/core.services.yml @@ -453,7 +453,7 @@ services: class: Drupal\Core\Utility\Token arguments: ['@module_handler'] batch.storage: - class: Drupal\Core\Utility\BatchStorage + class: Drupal\Core\Batch\BatchStorage arguments: ['@database'] slave_database_ignore__subscriber: class: Drupal\Core\EventSubscriber\SlaveDatabaseIgnoreSubscriber diff --git a/core/lib/Drupal/Core/Utility/BatchStorage.php b/core/lib/Drupal/Core/Batch/BatchStorage.php similarity index 95% rename from core/lib/Drupal/Core/Utility/BatchStorage.php rename to core/lib/Drupal/Core/Batch/BatchStorage.php index b5cb9b4541815a45bb8b5f6d776da9f6cd5ba7a5..1de881936241f76c84784da11890e2d52053586d 100644 --- a/core/lib/Drupal/Core/Utility/BatchStorage.php +++ b/core/lib/Drupal/Core/Batch/BatchStorage.php @@ -2,10 +2,10 @@ /** * @file - * Contains \Drupal\Core\Utility\BatchStorage. + * Contains \Drupal\Core\Batch\BatchStorage. */ -namespace Drupal\Core\Utility; +namespace Drupal\Core\Batch; use Drupal\Core\Database\Connection; diff --git a/core/lib/Drupal/Core/Utility/BatchStorageInterface.php b/core/lib/Drupal/Core/Batch/BatchStorageInterface.php similarity index 89% rename from core/lib/Drupal/Core/Utility/BatchStorageInterface.php rename to core/lib/Drupal/Core/Batch/BatchStorageInterface.php index 5d310df3623ee0998608609e83ada4046c63d624..cfb5a54b7cececf6ceb20f0cd4ffec162c4c7f26 100644 --- a/core/lib/Drupal/Core/Utility/BatchStorageInterface.php +++ b/core/lib/Drupal/Core/Batch/BatchStorageInterface.php @@ -2,10 +2,10 @@ /** * @file - * Definition of \Drupal\Core\Utility\BatchStorageInterface. + * Definition of \Drupal\Core\Batch\BatchStorageInterface. */ -namespace Drupal\Core\Utility; +namespace Drupal\Core\Batch; interface BatchStorageInterface {