interface FileExtensionGuesserInterface in Gutenberg 8.2
Same name and namespace in other branches
- 8 src/FileExtensionGuesserInterface.php \Drupal\gutenberg\FileExtensionGuesserInterface
Guesses all possible file extensions by mime type.
@package Drupal\gutenberg
Hierarchy
- interface \Drupal\gutenberg\FileExtensionGuesserInterface
Expanded class hierarchy of FileExtensionGuesserInterface
All classes that implement FileExtensionGuesserInterface
File
- src/
FileExtensionGuesserInterface.php, line 10
Namespace
Drupal\gutenbergView source
interface FileExtensionGuesserInterface {
/**
* Guesses all possible file extensions by general mime type.
*
* @param string $general_mime_type
* General mime type (image, video, audio, ...).
*
* @return array
* The mime types.
*/
public function guessByGeneralMimeType(string $general_mime_type);
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
FileExtensionGuesserInterface:: |
public | function | Guesses all possible file extensions by general mime type. | 1 |