class ImageToolkit
Same name in this branch
- 11.x core/lib/Drupal/Core/ImageToolkit/Annotation/ImageToolkit.php \Drupal\Core\ImageToolkit\Annotation\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 attribute 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\Plugin\Attribute\AttributeBase implements \Drupal\Component\Plugin\Attribute\AttributeInterface
- class \Drupal\Component\Plugin\Attribute\Plugin extends \Drupal\Component\Plugin\Attribute\AttributeBase
- class \Drupal\Core\ImageToolkit\Attribute\ImageToolkit extends \Drupal\Component\Plugin\Attribute\Plugin
- class \Drupal\Component\Plugin\Attribute\Plugin extends \Drupal\Component\Plugin\Attribute\AttributeBase
Expanded class hierarchy of ImageToolkit
See also
\Drupal\Core\ImageToolkit\Attribute\ImageToolkitOperation
\Drupal\Core\ImageToolkit\ImageToolkitInterface
\Drupal\Core\ImageToolkit\ImageToolkitBase
\Drupal\Core\ImageToolkit\ImageToolkitManager
5 files declare their use of ImageToolkit
- BrokenToolkit.php in core/
modules/ system/ tests/ modules/ image_test/ src/ Plugin/ ImageToolkit/ BrokenToolkit.php - DerivedToolkit.php in core/
modules/ system/ tests/ modules/ image_test/ src/ Plugin/ ImageToolkit/ DerivedToolkit.php - GDToolkit.php in core/
modules/ system/ src/ Plugin/ ImageToolkit/ GDToolkit.php - ImageToolkitManager.php in core/
lib/ Drupal/ Core/ ImageToolkit/ ImageToolkitManager.php - TestToolkit.php in core/
modules/ system/ tests/ modules/ image_test/ src/ Plugin/ ImageToolkit/ TestToolkit.php
File
-
core/
lib/ Drupal/ Core/ ImageToolkit/ Attribute/ ImageToolkit.php, line 27
Namespace
Drupal\Core\ImageToolkit\AttributeView source
class ImageToolkit extends Plugin {
public function __construct(string $id, TranslatableMarkup $title, ?string $deriver = NULL) {
}
}
Members
Title Sort descending | Modifiers | Object type | Summary | Overriden Title | Overrides |
---|---|---|---|---|---|
AttributeBase::$class | protected | property | The class used for this attribute class. | ||
AttributeBase::$provider | protected | property | The provider of the attribute class. | ||
AttributeBase::get | public | function | Overrides AttributeInterface::get | 6 | |
AttributeBase::getClass | public | function | Overrides AttributeInterface::getClass | 1 | |
AttributeBase::getId | public | function | Overrides AttributeInterface::getId | ||
AttributeBase::getProvider | public | function | Overrides AttributeInterface::getProvider | ||
AttributeBase::setClass | public | function | Overrides AttributeInterface::setClass | 1 | |
AttributeBase::setProvider | public | function | Overrides AttributeInterface::setProvider | ||
ImageToolkit::__construct | public | function | Overrides Plugin::__construct |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.