3 namespace Drupal\image\Annotation;
5 use Drupal\Component\Annotation\Plugin;
8 * Defines an image effect annotation object.
10 * Plugin Namespace: Plugin\ImageEffect
12 * For a working example, see
13 * \Drupal\image\Plugin\ImageEffect\ResizeImageEffect
15 * @see hook_image_effect_info_alter()
16 * @see \Drupal\image\ConfigurableImageEffectInterface
17 * @see \Drupal\image\ConfigurableImageEffectBase
18 * @see \Drupal\image\ImageEffectInterface
19 * @see \Drupal\image\ImageEffectBase
20 * @see \Drupal\image\ImageEffectManager
21 * @see \Drupal\Core\ImageToolkit\Annotation\ImageToolkitOperation
26 class ImageEffect extends Plugin {
36 * The human-readable name of the image effect.
38 * @ingroup plugin_translatable
40 * @var \Drupal\Core\Annotation\Translation
45 * A brief description of the image effect.
47 * This will be shown when adding or configuring this image effect.
49 * @ingroup plugin_translatable
51 * @var \Drupal\Core\Annotation\Translation (optional)
53 public $description = '';