public static function ImageHotspotInterface::loadByTarget in Image Hotspots 8
Load all hotspots that referencing to selected fid of field with style.
Parameters
array $values: An array with keys: 'field_name', 'fid', 'image_style', 'langcode'.
Return value
array An array with hotspots.
1 method overrides ImageHotspotInterface::loadByTarget()
- ImageHotspot::loadByTarget in src/
Entity/ ImageHotspot.php - Load all hotspots that referencing to selected fid of field with style.
File
- src/
ImageHotspotInterface.php, line 121
Class
- ImageHotspotInterface
- Interface ImageHotspotInterface.
Namespace
Drupal\image_hotspotsCode
public static function loadByTarget(array $values);