Search for getMimeType

  1. Search 7.x for getMimeType
  2. Search 9.5.x for getMimeType
  3. Search 8.9.x for getMimeType
  4. Search 11.x for getMimeType
  5. Other projects
Title Object type File name Summary
File::getMimeType function core/modules/file/src/Entity/File.php
FileInterface::getMimeType function core/modules/file/src/FileInterface.php Returns the MIME type of the file.
GDToolkit::getMimeType function core/modules/system/src/Plugin/ImageToolkit/GDToolkit.php
Image::getMimeType function core/lib/Drupal/Core/Image/Image.php
ImageInterface::getMimeType function core/lib/Drupal/Core/Image/ImageInterface.php Returns the MIME type of the image file.
ImageTest::testGetMimeType function core/tests/Drupal/Tests/Core/Image/ImageTest.php Tests \Drupal\Core\Image\Image::getMimeType().
ImageToolkitInterface::getMimeType function core/lib/Drupal/Core/ImageToolkit/ImageToolkitInterface.php Returns the MIME type of the image file.
RestExport::getMimeType function core/modules/rest/src/Plugin/views/display/RestExport.php Gets the mime type.
TestToolkit::getMimeType function core/modules/system/tests/modules/image_test/src/Plugin/ImageToolkit/TestToolkit.php

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.