public function ImageHotspot::setTargetLink in Image Hotspots 8
Sets new target attribute of the hotspot.
Parameters
string $target: New link target.
Overrides ImageHotspotInterface::setTargetLink
File
- src/
Entity/ ImageHotspot.php, line 75
Class
- ImageHotspot
- Defines the image hotspot entity class.
Namespace
Drupal\image_hotspots\EntityCode
public function setTargetLink($target) {
$this->target->value = $target;
}