You are here

public function ImageWidgetCropInterface::getAvailableCropType in Image Widget Crop 8.2

Verify if the crop is used by a ImageStyle.

Parameters

string[] $crop_list: The list of existent Crop Type.

Return value

arrayinteger The list of Crop Type filtered.

1 method overrides ImageWidgetCropInterface::getAvailableCropType()
ImageWidgetCropManager::getAvailableCropType in src/ImageWidgetCropManager.php
Verify if the crop is used by a ImageStyle.

File

src/ImageWidgetCropInterface.php, line 184

Class

ImageWidgetCropInterface
Defines the interface for ImageWidgetCropManager calculation class service.

Namespace

Drupal\image_widget_crop

Code

public function getAvailableCropType(array $crop_list);