public function ImageWidgetCropInterface::getEffectData in Image Widget Crop 8.2
Get one effect instead of ImageStyle.
Parameters
\Drupal\image\Entity\ImageStyle $image_style: The ImageStyle to get data.
string $data_type: The type of data needed in current ImageStyle.
Return value
mixed|null The effect data in current ImageStyle.
1 method overrides ImageWidgetCropInterface::getEffectData()
- ImageWidgetCropManager::getEffectData in src/
ImageWidgetCropManager.php - Get one effect instead of ImageStyle.
File
- src/
ImageWidgetCropInterface.php, line 111
Class
- ImageWidgetCropInterface
- Defines the interface for ImageWidgetCropManager calculation class service.
Namespace
Drupal\image_widget_cropCode
public function getEffectData(ImageStyle $image_style, $data_type);