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;
doc_Drupal
2016-10-29 09:20:14
Comments
Leave a Comment

Please login to continue.