function MediaInterface::getName
Same name in other branches
- 9 core/modules/media/src/MediaInterface.php \Drupal\media\MediaInterface::getName()
- 8.9.x core/modules/media/src/MediaInterface.php \Drupal\media\MediaInterface::getName()
- 11.x core/modules/media/src/MediaInterface.php \Drupal\media\MediaInterface::getName()
Gets the media item name.
Return value
string The name of the media item.
1 method overrides MediaInterface::getName()
- Media::getName in core/
modules/ media/ src/ Entity/ Media.php - Gets the media item name.
File
-
core/
modules/ media/ src/ MediaInterface.php, line 22
Class
- MediaInterface
- Provides an interface defining an entity for media items.
Namespace
Drupal\mediaCode
public function getName();
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.