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_hotspotsCode
public function setCoordinates(array $coordinates);