You are here

public function ImageHotspot::getTitle in Image Hotspots 8

Returns title of the hotspot.

Return value

string Hotspot title.

Overrides ImageHotspotInterface::getTitle

File

src/Entity/ImageHotspot.php, line 54

Class

ImageHotspot
Defines the image hotspot entity class.

Namespace

Drupal\image_hotspots\Entity

Code

public function getTitle() {
  return $this->title->value;
}