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