public function PhotosImage::getTitle in Album Photos 8.5
Same name and namespace in other branches
- 6.0.x src/Entity/PhotosImage.php \Drupal\photos\Entity\PhotosImage::getTitle()
Gets the image title.
Return value
string Title of the image.
Overrides PhotosImageInterface::getTitle
File
- src/
Entity/ PhotosImage.php, line 190
Class
- PhotosImage
- Defines the photos image entity class.
Namespace
Drupal\photos\EntityCode
public function getTitle() {
return $this
->get('title')->value;
}