You are here

public function CropInterface::size in Crop API 8.2

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

Code

public function size();