Skip to content
Snippets Groups Projects
Commit 0f8d2191 authored by Angie Byron's avatar Angie Byron
Browse files

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

parent a8928dba
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
...@@ -2,10 +2,10 @@ ...@@ -2,10 +2,10 @@
/** /**
* @file * @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; use Drupal\Component\Annotation\Plugin;
......
...@@ -38,7 +38,7 @@ class ImageToolkitManager extends DefaultPluginManager { ...@@ -38,7 +38,7 @@ class ImageToolkitManager extends DefaultPluginManager {
* The config factory. * The config factory.
*/ */
public function __construct(\Traversable $namespaces, CacheBackendInterface $cache_backend, LanguageManager $language_manager, ConfigFactory $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->setCacheBackend($cache_backend, $language_manager, 'image_toolkit');
$this->configFactory = $config_factory; $this->configFactory = $config_factory;
......
...@@ -8,8 +8,6 @@ ...@@ -8,8 +8,6 @@
namespace Drupal\system\Plugin\ImageToolkit; namespace Drupal\system\Plugin\ImageToolkit;
use Drupal\Core\Plugin\PluginBase; use Drupal\Core\Plugin\PluginBase;
use Drupal\system\Annotation\ImageToolkit;
use Drupal\Core\Annotation\Translation;
use Drupal\Core\Image\ImageInterface; use Drupal\Core\Image\ImageInterface;
use Drupal\Core\ImageToolkit\ImageToolkitInterface; use Drupal\Core\ImageToolkit\ImageToolkitInterface;
......
...@@ -7,9 +7,6 @@ ...@@ -7,9 +7,6 @@
namespace Drupal\image_test\Plugin\ImageToolkit; 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. * Defines a Test toolkit for image manipulation within Drupal.
* *
......
...@@ -8,8 +8,6 @@ ...@@ -8,8 +8,6 @@
namespace Drupal\image_test\Plugin\ImageToolkit; namespace Drupal\image_test\Plugin\ImageToolkit;
use Drupal\Core\Plugin\PluginBase; use Drupal\Core\Plugin\PluginBase;
use Drupal\system\Annotation\ImageToolkit;
use Drupal\Core\Annotation\Translation;
use Drupal\Core\Image\ImageInterface; use Drupal\Core\Image\ImageInterface;
use Drupal\Core\ImageToolkit\ImageToolkitInterface; use Drupal\Core\ImageToolkit\ImageToolkitInterface;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment