public function CropInterface::size in Crop API 8
Same name and namespace in other branches
- 8.2 src/CropInterface.php \Drupal\crop\CropInterface::size()
Gets crop's size.
Return value
array Array with two keys (width, height) each side dimensions as values.
1 method overrides CropInterface::size()
- Crop::size in src/
Entity/ Crop.php - Gets crop's size.
File
- src/
CropInterface.php, line 40
Class
- CropInterface
- Provides an interface defining the crop entity.
Namespace
Drupal\cropCode
public function size();