diff --git a/core/includes/cache.inc b/core/includes/cache.inc index 48dbdd34e45..a90f54733dd 100644 --- a/core/includes/cache.inc +++ b/core/includes/cache.inc @@ -18,10 +18,10 @@ * The cache bin for which the cache object should be returned, defaults to * 'cache'. * - * @return Drupal\Cache\CacheBackendInterface + * @return Drupal\Core\Cache\CacheBackendInterface * The cache object associated with the specified bin. * - * @see Drupal\Cache\CacheBackendInterface + * @see Drupal\Core\Cache\CacheBackendInterface */ function cache($bin = 'cache') { // Temporary backwards compatibiltiy layer, allow old style prefixed cache @@ -34,7 +34,7 @@ function cache($bin = 'cache') { if (!isset($cache_objects[$bin])) { $class = variable_get('cache_class_' . $bin); if (!isset($class)) { - $class = variable_get('cache_default_class', 'Drupal\Cache\DatabaseBackend'); + $class = variable_get('cache_default_class', 'Drupal\Core\Cache\DatabaseBackend'); } $cache_objects[$bin] = new $class($bin); } diff --git a/core/lib/Drupal/Cache/CacheBackendInterface.php b/core/lib/Drupal/Core/Cache/CacheBackendInterface.php similarity index 99% rename from core/lib/Drupal/Cache/CacheBackendInterface.php rename to core/lib/Drupal/Core/Cache/CacheBackendInterface.php index 3cb3c462c4d..6284047456b 100644 --- a/core/lib/Drupal/Cache/CacheBackendInterface.php +++ b/core/lib/Drupal/Core/Cache/CacheBackendInterface.php @@ -5,7 +5,7 @@ * Definition of CacheBackendInterface. */ -namespace Drupal\Cache; +namespace Drupal\Core\Cache; /** * Defines an interface for cache implementations. diff --git a/core/lib/Drupal/Cache/DatabaseBackend.php b/core/lib/Drupal/Core/Cache/DatabaseBackend.php similarity index 99% rename from core/lib/Drupal/Cache/DatabaseBackend.php rename to core/lib/Drupal/Core/Cache/DatabaseBackend.php index 5d9be1486bf..81522ca1e08 100644 --- a/core/lib/Drupal/Cache/DatabaseBackend.php +++ b/core/lib/Drupal/Core/Cache/DatabaseBackend.php @@ -5,7 +5,7 @@ * Definition of DatabaseBackend. */ -namespace Drupal\Cache; +namespace Drupal\Core\Cache; use Exception; diff --git a/core/lib/Drupal/Cache/InstallBackend.php b/core/lib/Drupal/Core/Cache/InstallBackend.php similarity index 98% rename from core/lib/Drupal/Cache/InstallBackend.php rename to core/lib/Drupal/Core/Cache/InstallBackend.php index f13ff989b06..91805aee810 100644 --- a/core/lib/Drupal/Cache/InstallBackend.php +++ b/core/lib/Drupal/Core/Cache/InstallBackend.php @@ -5,7 +5,7 @@ * Definition of InstallBackend. */ -namespace Drupal\Cache; +namespace Drupal\Core\Cache; use Exception; diff --git a/core/lib/Drupal/Cache/NullBackend.php b/core/lib/Drupal/Core/Cache/NullBackend.php similarity index 98% rename from core/lib/Drupal/Cache/NullBackend.php rename to core/lib/Drupal/Core/Cache/NullBackend.php index 3ab731c9f63..c0e1ab42d3b 100644 --- a/core/lib/Drupal/Cache/NullBackend.php +++ b/core/lib/Drupal/Core/Cache/NullBackend.php @@ -5,7 +5,7 @@ * Definition of NullBackend. */ -namespace Drupal\Cache; +namespace Drupal\Core\Cache; /** * Defines a stub cache implementation.