namespace Drupal\Core\File\MimeType

Same name in other branches
  1. 10 Drupal\Core\File\MimeType
  2. 11.x Drupal\Core\File\MimeType
  3. 8.9.x Drupal\Core\File\MimeType
Object name File name Summary
ExtensionMimeTypeGuesser core/lib/Drupal/Core/File/MimeType/ExtensionMimeTypeGuesser.php Makes possible to guess the MIME type of a file using its extension.
MimeTypeGuesser core/lib/Drupal/Core/File/MimeType/MimeTypeGuesser.php Defines a MIME type guesser that also supports stream wrapper paths.

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