function ExtensionMimeTypeGuesser::guessMimeType
Same name in this branch
- 9 core/lib/Drupal/Core/File/MimeType/ExtensionMimeTypeGuesser.php \Drupal\Core\File\MimeType\ExtensionMimeTypeGuesser::guessMimeType()
Same name in other branches
- 10 core/lib/Drupal/Core/File/MimeType/ExtensionMimeTypeGuesser.php \Drupal\Core\File\MimeType\ExtensionMimeTypeGuesser::guessMimeType()
- 10 core/lib/Drupal/Core/ProxyClass/File/MimeType/ExtensionMimeTypeGuesser.php \Drupal\Core\ProxyClass\File\MimeType\ExtensionMimeTypeGuesser::guessMimeType()
- 11.x core/lib/Drupal/Core/File/MimeType/ExtensionMimeTypeGuesser.php \Drupal\Core\File\MimeType\ExtensionMimeTypeGuesser::guessMimeType()
- 11.x core/lib/Drupal/Core/ProxyClass/File/MimeType/ExtensionMimeTypeGuesser.php \Drupal\Core\ProxyClass\File\MimeType\ExtensionMimeTypeGuesser::guessMimeType()
File
-
core/
lib/ Drupal/ Core/ ProxyClass/ File/ MimeType/ ExtensionMimeTypeGuesser.php, line 81
Class
- ExtensionMimeTypeGuesser
- Provides a proxy class for \Drupal\Core\File\MimeType\ExtensionMimeTypeGuesser.
Namespace
Drupal\Core\ProxyClass\File\MimeTypeCode
public function guessMimeType($path) : string {
return $this->lazyLoadItself()
->guessMimeType($path);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.