public function ImageToolkitInterface::getMimeType in Zircon Profile 8.0
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/ImageToolkit/ImageToolkitInterface.php \Drupal\Core\ImageToolkit\ImageToolkitInterface::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.
2 methods override ImageToolkitInterface::getMimeType()
- GDToolkit::getMimeType in core/
modules/ system/ src/ Plugin/ ImageToolkit/ GDToolkit.php - Returns the MIME type of the image file.
- TestToolkit::getMimeType in core/
modules/ system/ tests/ modules/ image_test/ src/ Plugin/ ImageToolkit/ TestToolkit.php - Returns the MIME type of the image file.
File
- core/
lib/ Drupal/ Core/ ImageToolkit/ ImageToolkitInterface.php, line 132 - Contains \Drupal\Core\ImageToolkit\ImageToolkitInterface.
Class
- ImageToolkitInterface
- Defines an interface for image toolkits.
Namespace
Drupal\Core\ImageToolkitCode
public function getMimeType();