public function ImageInterface::getMimeType in Zircon Profile 8.0
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/Image/ImageInterface.php \Drupal\Core\Image\ImageInterface::getMimeType()
Returns the MIME type of the image file.
Return value
string The MIME type of the image file, or an empty string if the image is invalid.
1 method overrides ImageInterface::getMimeType()
- Image::getMimeType in core/
lib/ Drupal/ Core/ Image/ Image.php - Returns the MIME type of the image file.
File
- core/
lib/ Drupal/ Core/ Image/ ImageInterface.php, line 54 - Contains \Drupal\Core\Image\ImageInterface.
Class
- ImageInterface
- Provides an interface for image objects.
Namespace
Drupal\Core\ImageCode
public function getMimeType();