You are here

public function ImageHotspotInterface::setCoordinates in Image Hotspots 8

Sets new coordinates for hotspot.

Parameters

array $coordinates: Array with X and Y keys for new coordinates.

1 method overrides ImageHotspotInterface::setCoordinates()
ImageHotspot::setCoordinates in src/Entity/ImageHotspot.php
Sets new coordinates for hotspot.

File

src/ImageHotspotInterface.php, line 110

Class

ImageHotspotInterface
Interface ImageHotspotInterface.

Namespace

Drupal\image_hotspots

Code

public function setCoordinates(array $coordinates);