You are here

public function ImageHotspot::getDescription in Image Hotspots 8

Returns description of the hotspot.

Return value

string Hotspot description.

Overrides ImageHotspotInterface::getDescription

File

src/Entity/ImageHotspot.php, line 82

Class

ImageHotspot
Defines the image hotspot entity class.

Namespace

Drupal\image_hotspots\Entity

Code

public function getDescription() {
  return $this->description->value;
}