You are here

public function ImageWidgetCropInterface::deleteCrop in Image Widget Crop 8.2

Delete the crop when user delete it.

Parameters

string $file_uri: Uri of image uploaded by user.

\Drupal\crop\Entity\CropType $crop_type: The CropType object.

int $file_id: Id of image uploaded by user.

1 method overrides ImageWidgetCropInterface::deleteCrop()
ImageWidgetCropManager::deleteCrop in src/ImageWidgetCropManager.php
Delete the crop when user delete it.

File

src/ImageWidgetCropInterface.php, line 71

Class

ImageWidgetCropInterface
Defines the interface for ImageWidgetCropManager calculation class service.

Namespace

Drupal\image_widget_crop

Code

public function deleteCrop($file_uri, CropType $crop_type, $file_id);