You are here

public property ImageToolkitOperation::$id in Drupal 10

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/ImageToolkit/Annotation/ImageToolkitOperation.php \Drupal\Core\ImageToolkit\Annotation\ImageToolkitOperation::id
  2. 9 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\Annotation

Code

public $id;