Issue #3420991 follow-uo by alexpott: Convert ImageToolkit plugin discovery to attributes

(cherry picked from commit bd5aa8ffbe)
merge-requests/6829/head
Alex Pott 2024-02-28 23:52:25 +00:00
parent e8b4e5c252
commit d332de9735
No known key found for this signature in database
GPG Key ID: BDA67E7EE836E5CE
3 changed files with 4 additions and 4 deletions

View File

@ -18,7 +18,7 @@ use Drupal\Core\StringTranslation\TranslatableMarkup;
* For a working example, see
* \Drupal\system\Plugin\ImageToolkit\GDToolkit
*
* @see \Drupal\Core\ImageToolkit\Annotation\ImageToolkitOperation
* @see \Drupal\Core\ImageToolkit\Attribute\ImageToolkitOperation
* @see \Drupal\Core\ImageToolkit\ImageToolkitInterface
* @see \Drupal\Core\ImageToolkit\ImageToolkitBase
* @see \Drupal\Core\ImageToolkit\ImageToolkitManager

View File

@ -19,8 +19,8 @@ use Drupal\Core\StringTranslation\TranslatableMarkup;
* For a working example, see
* \Drupal\system\Plugin\ImageToolkit\Operation\gd\Crop
*
* @see \Drupal\Core\ImageToolkit\Annotation\ImageToolkit
* @see \Drupal\image\Annotation\ImageEffect
* @see \Drupal\Core\ImageToolkit\Attribute\ImageToolkit
* @see \Drupal\image\Attribute\ImageEffect
* @see \Drupal\Core\ImageToolkit\ImageToolkitOperationInterface
* @see \Drupal\Core\ImageToolkit\ImageToolkitOperationBase
* @see \Drupal\Core\ImageToolkit\ImageToolkitOperationManager

View File

@ -21,7 +21,7 @@ use Drupal\Core\StringTranslation\TranslatableMarkup;
* @see \Drupal\image\ImageEffectInterface
* @see \Drupal\image\ImageEffectBase
* @see \Drupal\image\ImageEffectManager
* @see \Drupal\Core\ImageToolkit\Annotation\ImageToolkitOperation
* @see \Drupal\Core\ImageToolkit\Attribute\ImageToolkitOperation
* @see plugin_api
*/
#[\Attribute(\Attribute::TARGET_CLASS)]