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