You are here

final class Events in Crop API 8.2

Contains all events thrown by crop API.

Hierarchy

  • class \Drupal\crop\Events\Events

Expanded class hierarchy of Events

1 file declares its use of Events
CropEffect.php in src/Plugin/ImageEffect/CropEffect.php

File

src/Events/Events.php, line 8

Namespace

Drupal\crop\Events
View source
final class Events {

  /**
   * The event to subscribe to add provider as manual crop fallback provider.
   *
   * @var string
   */
  const AUTOMATIC_CROP_PROVIDERS = 'crop.automatic_crop_providers';

  /**
   * The event to subscribe to automatic crop generate for crop API.
   *
   * @var string
   */
  const AUTOMATIC_CROP = 'crop.automatic_crop';

}

Members

Namesort descending Modifiers Type Description Overrides
Events::AUTOMATIC_CROP constant The event to subscribe to automatic crop generate for crop API.
Events::AUTOMATIC_CROP_PROVIDERS constant The event to subscribe to add provider as manual crop fallback provider.