You are here

public static function ImageWidgetCropInterface::getCropProperties in Image Widget Crop 8.2

Get All sizes properties of the crops for an file.

Parameters

\Drupal\crop\Entity\Crop $crop: All crops attached to this file based on URI.

Return value

arrayarray Get all crop zone properties (x, y, height, width),

1 method overrides ImageWidgetCropInterface::getCropProperties()
ImageWidgetCropManager::getCropProperties in src/ImageWidgetCropManager.php
Get All sizes properties of the crops for an file.

File

src/ImageWidgetCropInterface.php, line 195

Class

ImageWidgetCropInterface
Defines the interface for ImageWidgetCropManager calculation class service.

Namespace

Drupal\image_widget_crop

Code

public static function getCropProperties(Crop $crop);