Gets or sets a value indicating whether it is possible to crop an image in the image editor.

Syntax

PHP

public function getEnableCrop() {
}

public function setEnableCrop($value) {
}

Property Value

Type: boolean

If true, the crop functionality is supported in the image editor; otherwise, images can only be previewed, rotated, and/or provided with a description.

Default value is true.