public function MediaGalleryInterface::setTitle in Media Gallery 8
Sets the media gallery title.
Parameters
string $title: The media gallery title.
Return value
\Drupal\media_gallery\MediaGalleryInterface The called media gallery entity.
1 method overrides MediaGalleryInterface::setTitle()
- MediaGallery::setTitle in src/
Entity/ MediaGallery.php - Sets the media gallery title.
File
- src/
MediaGalleryInterface.php, line 31
Class
- MediaGalleryInterface
- Provides an interface defining a media gallery entity type.
Namespace
Drupal\media_galleryCode
public function setTitle($title);