public function AutomatedCropInterface::setMaxSizes in Automated Crop 8
Gets crop box size.
Parameters
int $maxWidth: The maximum width of the crop box area.
int $maxHeight: The maximum height of the crop box area.
Return value
array Array with two keys (width, height) each side dimensions as values.
1 method overrides AutomatedCropInterface::setMaxSizes()
- AbstractAutomatedCrop::setMaxSizes in src/
AbstractAutomatedCrop.php - Gets crop box size.
File
- src/
AutomatedCropInterface.php, line 72
Class
- AutomatedCropInterface
- Provides an interface defining the AutomatedCrop plugin objects.
Namespace
Drupal\automated_cropCode
public function setMaxSizes($maxWidth, $maxHeight);