summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Pott2013-06-24 15:05:10 (GMT)
committer Alex Pott2013-06-24 15:05:10 (GMT)
commit0d20ccb2a798de8734bae9ae95a3628541271f03 (patch)
treecb8c32a9061e9d269563b3d6737ddca1e846f26a
parent1d3e064d9ded184781cc24d4efd4e58b59cdd0fb (diff)
Issue #2018257 by tsphethean: Move batch storage to Drupal\Core\Batch.
-rw-r--r--core/core.services.yml2
-rw-r--r--core/lib/Drupal/Core/Batch/BatchStorage.php (renamed from core/lib/Drupal/Core/Utility/BatchStorage.php)4
-rw-r--r--core/lib/Drupal/Core/Batch/BatchStorageInterface.php (renamed from core/lib/Drupal/Core/Utility/BatchStorageInterface.php)4
3 files changed, 5 insertions, 5 deletions
diff --git a/core/core.services.yml b/core/core.services.yml
index 04e6ec0..86f071c 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
index b5cb9b4..1de8819 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
index 5d310df..cfb5a54 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 {