function MimeTypeGuesser::guessMimeType
Same name in this branch
- 9 core/lib/Drupal/Core/File/MimeType/MimeTypeGuesser.php \Drupal\Core\File\MimeType\MimeTypeGuesser::guessMimeType()
Same name in other branches
- 10 core/lib/Drupal/Core/File/MimeType/MimeTypeGuesser.php \Drupal\Core\File\MimeType\MimeTypeGuesser::guessMimeType()
- 10 core/lib/Drupal/Core/ProxyClass/File/MimeType/MimeTypeGuesser.php \Drupal\Core\ProxyClass\File\MimeType\MimeTypeGuesser::guessMimeType()
- 11.x core/lib/Drupal/Core/File/MimeType/MimeTypeGuesser.php \Drupal\Core\File\MimeType\MimeTypeGuesser::guessMimeType()
- 11.x core/lib/Drupal/Core/ProxyClass/File/MimeType/MimeTypeGuesser.php \Drupal\Core\ProxyClass\File\MimeType\MimeTypeGuesser::guessMimeType()
File
-
core/
lib/ Drupal/ Core/ ProxyClass/ File/ MimeType/ MimeTypeGuesser.php, line 73
Class
- MimeTypeGuesser
- Provides a proxy class for \Drupal\Core\File\MimeType\MimeTypeGuesser.
Namespace
Drupal\Core\ProxyClass\File\MimeTypeCode
public function guessMimeType(string $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.