Issue #2108077 by claudiu.cristea: ImageToolkit annotation object left under system module.

8.0.x
webchick 2013-10-09 08:29:42 -07:00
parent a8928dbadd
commit 0f8d219176
5 changed files with 3 additions and 10 deletions

View File

@ -2,10 +2,10 @@
/**
* @file
* Contains \Drupal\system\Annotation\ImageToolkit.
* Contains \Drupal\Core\ImageToolkit\Annotation\ImageToolkit.
*/
namespace Drupal\system\Annotation;
namespace Drupal\Core\ImageToolkit\Annotation;
use Drupal\Component\Annotation\Plugin;

View File

@ -38,7 +38,7 @@ class ImageToolkitManager extends DefaultPluginManager {
* The config factory.
*/
public function __construct(\Traversable $namespaces, CacheBackendInterface $cache_backend, LanguageManager $language_manager, ConfigFactory $config_factory) {
parent::__construct('Plugin/ImageToolkit', $namespaces, 'Drupal\system\Annotation\ImageToolkit');
parent::__construct('Plugin/ImageToolkit', $namespaces, 'Drupal\Core\ImageToolkit\Annotation\ImageToolkit');
$this->setCacheBackend($cache_backend, $language_manager, 'image_toolkit');
$this->configFactory = $config_factory;

View File

@ -8,8 +8,6 @@
namespace Drupal\system\Plugin\ImageToolkit;
use Drupal\Core\Plugin\PluginBase;
use Drupal\system\Annotation\ImageToolkit;
use Drupal\Core\Annotation\Translation;
use Drupal\Core\Image\ImageInterface;
use Drupal\Core\ImageToolkit\ImageToolkitInterface;

View File

@ -7,9 +7,6 @@
namespace Drupal\image_test\Plugin\ImageToolkit;
use Drupal\system\Annotation\ImageToolkit;
use Drupal\Core\Annotation\Translation;
/**
* Defines a Test toolkit for image manipulation within Drupal.
*

View File

@ -8,8 +8,6 @@
namespace Drupal\image_test\Plugin\ImageToolkit;
use Drupal\Core\Plugin\PluginBase;
use Drupal\system\Annotation\ImageToolkit;
use Drupal\Core\Annotation\Translation;
use Drupal\Core\Image\ImageInterface;
use Drupal\Core\ImageToolkit\ImageToolkitInterface;