You are here

public function ImageWidgetCropInterface::imageStylesOperations in Image Widget Crop 8.2

Apply different operation on ImageStyles.

Parameters

array $image_styles: All ImageStyles used by this cropType.

string $file_uri: Uri of image uploaded by user.

bool $create_derivative: Boolean to create an derivative of the image uploaded.

1 method overrides ImageWidgetCropInterface::imageStylesOperations()
ImageWidgetCropManager::imageStylesOperations in src/ImageWidgetCropManager.php
Apply different operation on ImageStyles.

File

src/ImageWidgetCropInterface.php, line 134

Class

ImageWidgetCropInterface
Defines the interface for ImageWidgetCropManager calculation class service.

Namespace

Drupal\image_widget_crop

Code

public function imageStylesOperations(array $image_styles, $file_uri, $create_derivative = FALSE);