public function MediaGallery::getTitle in Media Gallery 8
Gets the media gallery title.
Return value
string Title of the media gallery.
Overrides MediaGalleryInterface::getTitle
File
- src/
Entity/ MediaGallery.php, line 74
Class
- MediaGallery
- Defines the media gallery entity class.
Namespace
Drupal\media_gallery\EntityCode
public function getTitle() {
return $this
->get('title')->value;
}