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