W3cubDocs

/Drupal 8

public property 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;

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!ImageToolkit!Annotation!ImageToolkitOperation.php/property/ImageToolkitOperation::id/8.1.x