1. 8.3.x core/lib/Drupal/Core/ImageToolkit/Annotation/ImageToolkit.php
  2. 8.0.x core/lib/Drupal/Core/ImageToolkit/Annotation/ImageToolkit.php
  3. 8.1.x core/lib/Drupal/Core/ImageToolkit/Annotation/ImageToolkit.php
  4. 8.2.x core/lib/Drupal/Core/ImageToolkit/Annotation/ImageToolkit.php
  5. 8.4.x core/lib/Drupal/Core/ImageToolkit/Annotation/ImageToolkit.php

Namespace

Drupal\Core\ImageToolkit\Annotation

File

core/lib/Drupal/Core/ImageToolkit/Annotation/ImageToolkit.php
View source
  1. <?php
  2. namespace Drupal\Core\ImageToolkit\Annotation;
  3. use Drupal\Component\Annotation\Plugin;
  4. /**
  5. * Defines a Plugin annotation object for the image toolkit plugin.
  6. *
  7. * An image toolkit provides common image file manipulations like scaling,
  8. * cropping, and rotating.
  9. *
  10. * Plugin namespace: Plugin\ImageToolkit
  11. *
  12. * For a working example, see
  13. * \Drupal\system\Plugin\ImageToolkit\GDToolkit
  14. *
  15. * @see \Drupal\Core\ImageToolkit\Annotation\ImageToolkitOperation
  16. * @see \Drupal\Core\ImageToolkit\ImageToolkitInterface
  17. * @see \Drupal\Core\ImageToolkit\ImageToolkitBase
  18. * @see \Drupal\Core\ImageToolkit\ImageToolkitManager
  19. * @see plugin_api
  20. *
  21. * @Annotation
  22. */
  23. class ImageToolkit extends Plugin {
  24. /**
  25. * The plugin ID.
  26. *
  27. * @var string
  28. */
  29. public $id;
  30. /**
  31. * The title of the image toolkit.
  32. *
  33. * The string should be wrapped in a @Translation().
  34. *
  35. * @ingroup plugin_translatable
  36. *
  37. * @var \Drupal\Core\Annotation\Translation
  38. */
  39. public $title;
  40. }

Classes

Namesort descending Description
ImageToolkit Defines a Plugin annotation object for the image toolkit plugin.