You are here

public function ImageHotspot::getTargetLink in Image Hotspots 8

Returns css attribute "target" of the hotspot.

Return value

string Hotspot css target.

Overrides ImageHotspotInterface::getTargetLink

File

src/Entity/ImageHotspot.php, line 68

Class

ImageHotspot
Defines the image hotspot entity class.

Namespace

Drupal\image_hotspots\Entity

Code

public function getTargetLink() {
  return $this->target->value;
}