You are here

public function CropInterface::position in Crop API 8.2

Same name and namespace in other branches
  1. 8 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\crop

Code

public function position();