public function ImageWidgetCropInterface::loadImageStyleByCrop in Image Widget Crop 8.2
Load all crop using the ImageStyles.
Parameters
array $image_styles: All ImageStyle for this current CROP.
\Drupal\crop\Entity\CropType $crop_type: The entity CropType.
string $file_uri: Uri of uploaded file.
Return value
array All crop used this ImageStyle.
1 method overrides ImageWidgetCropInterface::loadImageStyleByCrop()
- ImageWidgetCropManager::loadImageStyleByCrop in src/
ImageWidgetCropManager.php - Load all crop using the ImageStyles.
File
- src/
ImageWidgetCropInterface.php, line 159
Class
- ImageWidgetCropInterface
- Defines the interface for ImageWidgetCropManager calculation class service.
Namespace
Drupal\image_widget_cropCode
public function loadImageStyleByCrop(array $image_styles, CropType $crop_type, $file_uri);