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