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