ImageToolkitOperation::$id
Same name in other branches
- 9 core/lib/Drupal/Core/ImageToolkit/Annotation/ImageToolkitOperation.php \Drupal\Core\ImageToolkit\Annotation\ImageToolkitOperation::id
- 8.9.x core/lib/Drupal/Core/ImageToolkit/Annotation/ImageToolkitOperation.php \Drupal\Core\ImageToolkit\Annotation\ImageToolkitOperation::id
- 10 core/lib/Drupal/Core/ImageToolkit/Annotation/ImageToolkitOperation.php \Drupal\Core\ImageToolkit\Annotation\ImageToolkitOperation::id
The plugin ID.
There are no strict requirements as to the string to be used to identify the plugin, since discovery of the appropriate operation plugin to be used to apply an operation is based on the values of the 'toolkit' and the 'operation' annotation values.
However, it is recommended that the following patterns be used:
- '{toolkit}_{operation}' for the first implementation of an operation by a toolkit.
- '{module}_{toolkit}_{operation}' for overrides of existing implementations supplied by an alternative module, and for new module-supplied operations.
Type: string
File
-
core/
lib/ Drupal/ Core/ ImageToolkit/ Annotation/ ImageToolkitOperation.php, line 47
Class
- ImageToolkitOperation
- Defines a Plugin annotation object for the image toolkit operation plugin.
Namespace
Drupal\Core\ImageToolkit\AnnotationCode
public $id;
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.