public function MimeMapManager::listTypes in Sophron 8
Gets the list of MIME types.
Return value
string[] A simple array of MIME type strings.
Overrides MimeMapManagerInterface::listTypes
File
- src/
MimeMapManager.php, line 146
Class
- MimeMapManager
- Provides a sensible mapping between filename extensions and MIME types.
Namespace
Drupal\sophronCode
public function listTypes() {
return MapHandler::map($this
->getMapClass())
->listTypes();
}