public function MediaBundleInterface::getType in Media entity 8
Returns the media type plugin.
Return value
\Drupal\media_entity\MediaTypeInterface The type.
1 method overrides MediaBundleInterface::getType()
- MediaBundle::getType in src/
Entity/ MediaBundle.php - Returns the media type plugin.
File
- src/
MediaBundleInterface.php, line 65
Class
- MediaBundleInterface
- Provides an interface defining a media bundle entity.
Namespace
Drupal\media_entityCode
public function getType();