class ImageToolkit
Same name in this branch
- 11.x core/lib/Drupal/Core/ImageToolkit/Attribute/ImageToolkit.php \Drupal\Core\ImageToolkit\Attribute\ImageToolkit
Same name in other branches
- 9 core/lib/Drupal/Core/ImageToolkit/Annotation/ImageToolkit.php \Drupal\Core\ImageToolkit\Annotation\ImageToolkit
- 8.9.x core/lib/Drupal/Core/ImageToolkit/Annotation/ImageToolkit.php \Drupal\Core\ImageToolkit\Annotation\ImageToolkit
- 10 core/lib/Drupal/Core/ImageToolkit/Attribute/ImageToolkit.php \Drupal\Core\ImageToolkit\Attribute\ImageToolkit
- 10 core/lib/Drupal/Core/ImageToolkit/Annotation/ImageToolkit.php \Drupal\Core\ImageToolkit\Annotation\ImageToolkit
Defines a Plugin annotation object for the image toolkit plugin.
An image toolkit provides common image file manipulations like scaling, cropping, and rotating.
Plugin namespace: Plugin\ImageToolkit
For a working example, see \Drupal\system\Plugin\ImageToolkit\GDToolkit
Hierarchy
- class \Drupal\Component\Annotation\Plugin implements \Drupal\Component\Annotation\AnnotationInterface
- class \Drupal\Core\ImageToolkit\Annotation\ImageToolkit extends \Drupal\Component\Annotation\Plugin
Expanded class hierarchy of ImageToolkit
See also
\Drupal\Core\ImageToolkit\Annotation\ImageToolkitOperation
\Drupal\Core\ImageToolkit\ImageToolkitInterface
\Drupal\Core\ImageToolkit\ImageToolkitBase
\Drupal\Core\ImageToolkit\ImageToolkitManager
Related topics
File
-
core/
lib/ Drupal/ Core/ ImageToolkit/ Annotation/ ImageToolkit.php, line 26
Namespace
Drupal\Core\ImageToolkit\AnnotationView source
class ImageToolkit extends Plugin {
/**
* The plugin ID.
*
* @var string
*/
public $id;
/**
* The title of the image toolkit.
*
* The string should be wrapped in @Translation().
*
* @var \Drupal\Core\Annotation\Translation
*
* @ingroup plugin_translatable
*/
public $title;
}
Members
Title Sort descending | Modifiers | Object type | Summary | Overriden Title | Overrides |
---|---|---|---|---|---|
ImageToolkit::$id | public | property | The plugin ID. | ||
ImageToolkit::$title | public | property | The title of the image toolkit. | ||
Plugin::$definition | protected | property | The plugin definition read from the class annotation. | 1 | |
Plugin::get | public | function | Overrides AnnotationInterface::get | 6 | |
Plugin::getClass | public | function | Overrides AnnotationInterface::getClass | 1 | |
Plugin::getId | public | function | Overrides AnnotationInterface::getId | ||
Plugin::getProvider | public | function | Overrides AnnotationInterface::getProvider | 1 | |
Plugin::parse | protected | function | Parses an annotation into its definition. | ||
Plugin::setClass | public | function | Overrides AnnotationInterface::setClass | 1 | |
Plugin::setProvider | public | function | Overrides AnnotationInterface::setProvider | ||
Plugin::__construct | public | function | Constructs a Plugin object. | 3 |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.