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