public function CropInterface::position in Crop API 8
Same name and namespace in other branches
- 8.2 src/CropInterface.php \Drupal\crop\CropInterface::position()
Gets position of crop's center.
Return value
array Array with two keys (x, y) and center coordinates as values.
1 method overrides CropInterface::position()
- Crop::position in src/
Entity/ Crop.php - Gets position of crop's center.
File
- src/
CropInterface.php, line 19
Class
- CropInterface
- Provides an interface defining the crop entity.
Namespace
Drupal\cropCode
public function position();