You are here

public function ExtensionMimeTypeGuesser::convertMimeTypeToExtension in FileField Sources 8

Same name in this branch
  1. 8 src/File/MimeType/ExtensionMimeTypeGuesser.php \Drupal\filefield_sources\File\MimeType\ExtensionMimeTypeGuesser::convertMimeTypeToExtension()
  2. 8 src/ProxyClass/File/MimeType/ExtensionMimeTypeGuesser.php \Drupal\filefield_sources\ProxyClass\File\MimeType\ExtensionMimeTypeGuesser::convertMimeTypeToExtension()

File

src/ProxyClass/File/MimeType/ExtensionMimeTypeGuesser.php, line 73

Class

ExtensionMimeTypeGuesser
Provides a proxy class for \Drupal\filefield_sources\File\MimeType\ExtensionMimeTypeGuesser.

Namespace

Drupal\filefield_sources\ProxyClass\File\MimeType

Code

public function convertMimeTypeToExtension($mimetype) {
  return $this
    ->lazyLoadItself()
    ->convertMimeTypeToExtension($mimetype);
}