Issue #2108077 by claudiu.cristea: ImageToolkit annotation object left under system module.
parent
a8928dbadd
commit
0f8d219176
|
@ -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;
|
||||
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
|
@ -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.
|
||||
*
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue