function ImageToolkit::__construct
Constructs a plugin attribute object.
Parameters
string $id: The attribute class ID.
class-string|null $deriver: (optional) The deriver class.
Overrides Plugin::__construct
File
-
core/
lib/ Drupal/ Core/ ImageToolkit/ Attribute/ ImageToolkit.php, line 30
Class
- ImageToolkit
- Defines a Plugin attribute for the image toolkit plugin.
Namespace
Drupal\Core\ImageToolkit\AttributeCode
public function __construct(public readonly string $id, public readonly TranslatableMarkup $title, public readonly ?string $deriver = NULL) {
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.