You are here

public function AutomaticCrop::getImage in Crop API 8.2

Get image to crop.

Return value

\Drupal\Core\Image\ImageInterface The image resource.

File

src/Events/AutomaticCrop.php, line 93

Class

AutomaticCrop
Represents automatic crop action as event.

Namespace

Drupal\crop\Events

Code

public function getImage() {
  return $this->image;
}