ImageToolkitBase::$configFactory

The config factory. Type: \Drupal\Core\Config\ConfigFactoryInterface File core/lib/Drupal/Core/ImageToolkit/ImageToolkitBase.php, line 26 Class ImageToolkitBase Provides a base class for image toolkit plugins. Namespace Drupal\Core\ImageToolkit Code protected $configFactory;

ImageToolkitBase

Provides a base class for image toolkit plugins. Hierarchy class \Drupal\Component\Plugin\PluginBase implements DerivativeInspectionInterface, PluginInspectionInterfaceclass \Drupal\Core\Plugin\PluginBase uses DependencySerializationTrait, StringTranslationTraitclass \Drupal\Core\ImageToolkit\ImageToolkitBase implements ImageToolkitInterface See also \Drupal\Core\ImageToolkit\Annotation\ImageToolkit \Drupal\Core\ImageToolkit\ImageToolkitInterface \Drupal\Core\ImageToolkit\ImageToolkitMana

ImageToolkit::$title

The title of the image toolkit. The string should be wrapped in a @Translation(). Type: \Drupal\Core\Annotation\Translation Related topics Annotation for translatable text Describes how to put translatable UI text into annotations. File core/lib/Drupal/Core/ImageToolkit/Annotation/ImageToolkit.php, line 44 Class ImageToolkit Defines a Plugin annotation object for the image toolkit plugin. Namespace Drupal\Core\ImageToolkit\Annotation Code public $title;

ImageToolkit::$id

The plugin ID. Type: string File core/lib/Drupal/Core/ImageToolkit/Annotation/ImageToolkit.php, line 33 Class ImageToolkit Defines a Plugin annotation object for the image toolkit plugin. Namespace Drupal\Core\ImageToolkit\Annotation Code public $id;

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 AnnotationInterfaceclass \Drupal\Core\ImageToolkit\Annotation\ImageToolkit See also \Drupal\Core\ImageToolkit\Annotation\ImageToolkitOperation \Drupal\Core\Imag

ImageStyleStorageInterface::setReplacementId

public ImageStyleStorageInterface::setReplacementId($name, $replacement) Stores a replacement ID for an image style being deleted. The method stores a replacement style to be used by the configuration dependency system when a image style is deleted. The replacement style is replacing the deleted style in other configuration entities that are depending on the image style being deleted. Parameters string $name: The ID of the image style to be deleted. string $replacement: The ID of the image sty

ImageStyleStorageInterface::getReplacementId

public ImageStyleStorageInterface::getReplacementId($name) Retrieves the replacement ID of a deleted image style. The method is retrieving the value stored by ::setReplacementId(). Parameters string $name: The ID of the image style to be replaced. Return value string|null The ID of the image style used as replacement, if there's any, or NULL. See also \Drupal\image\ImageStyleStorageInterface::setReplacementId() File core/modules/image/src/ImageStyleStorageInterface.php, line 38 Class Ima

ImageStyleStorageInterface::clearReplacementId

public ImageStyleStorageInterface::clearReplacementId($name) Clears a replacement ID from the storage. The method clears the value previously stored with ::setReplacementId(). Parameters string $name: The ID of the image style to be replaced. See also \Drupal\image\ImageStyleStorageInterface::setReplacementId() File core/modules/image/src/ImageStyleStorageInterface.php, line 50 Class ImageStyleStorageInterface Interface for storage controller for "image style" configuration entities. N

ImageStyleStorageInterface

Interface for storage controller for "image style" configuration entities. Hierarchy interface \Drupal\image\ImageStyleStorageInterface File core/modules/image/src/ImageStyleStorageInterface.php, line 8 Namespace Drupal\image Members Name Modifiers Type Description ImageStyleStorageInterface::clearReplacementId public function Clears a replacement ID from the storage. ImageStyleStorageInterface::getReplacementId public function Retrieves the replacement ID of a d

ImageStyleStorage::setReplacementId

public ImageStyleStorage::setReplacementId($name, $replacement) Stores a replacement ID for an image style being deleted. The method stores a replacement style to be used by the configuration dependency system when a image style is deleted. The replacement style is replacing the deleted style in other configuration entities that are depending on the image style being deleted. Parameters string $name: The ID of the image style to be deleted. string $replacement: The ID of the image style used a