function MimeTypeMapInterface::listMimeTypes
Same name and namespace in other branches
- main core/lib/Drupal/Core/File/MimeType/MimeTypeMapInterface.php \Drupal\Core\File\MimeType\MimeTypeMapInterface::listMimeTypes()
Returns known MIME types.
Return value
string[] An array of MIME types.
File
-
core/
lib/ Drupal/ Core/ File/ MimeType/ MimeTypeMapInterface.php, line 54
Class
- MimeTypeMapInterface
- Provides an interface for MIME type to file extension mapping.
Namespace
Drupal\Core\File\MimeTypeCode
public function listMimeTypes() : array;
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.