ImageToolkit.php

Same filename in this branch
  1. 11.x core/lib/Drupal/Core/ImageToolkit/Annotation/ImageToolkit.php
Same filename and directory in other branches
  1. 9 core/lib/Drupal/Core/ImageToolkit/Annotation/ImageToolkit.php
  2. 8.9.x core/lib/Drupal/Core/ImageToolkit/Annotation/ImageToolkit.php
  3. 10 core/lib/Drupal/Core/ImageToolkit/Attribute/ImageToolkit.php
  4. 10 core/lib/Drupal/Core/ImageToolkit/Annotation/ImageToolkit.php

Namespace

Drupal\Core\ImageToolkit\Attribute

File

core/lib/Drupal/Core/ImageToolkit/Attribute/ImageToolkit.php

View source
<?php

declare (strict_types=1);
namespace Drupal\Core\ImageToolkit\Attribute;

use Drupal\Component\Plugin\Attribute\Plugin;
use Drupal\Core\StringTranslation\TranslatableMarkup;

/**
 * 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
 *
 * @see \Drupal\Core\ImageToolkit\Attribute\ImageToolkitOperation
 * @see \Drupal\Core\ImageToolkit\ImageToolkitInterface
 * @see \Drupal\Core\ImageToolkit\ImageToolkitBase
 * @see \Drupal\Core\ImageToolkit\ImageToolkitManager
 * @see plugin_api
 */
class ImageToolkit extends Plugin {
    public function __construct(string $id, TranslatableMarkup $title, ?string $deriver = NULL) {
    }

}

Classes

Title Deprecated Summary
ImageToolkit Defines a Plugin attribute for the image toolkit plugin.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.