public static function FileMimetypes::file_mimetype_mapping in AmazonS3 7.2
Same name in this branch
- 7.2 tests/DrupalAdapter/FileMimetypes.php \Drupal\amazons3Test\DrupalAdapter\FileMimetypes::file_mimetype_mapping()
- 7.2 src/DrupalAdapter/FileMimetypes.php \Drupal\amazons3\DrupalAdapter\FileMimetypes::file_mimetype_mapping()
Return value
array
File
- src/
DrupalAdapter/ FileMimetypes.php, line 17
Class
- FileMimetypes
- Methods that map to includes/file.mimetypes.inc.
Namespace
Drupal\amazons3\DrupalAdapterCode
public static function file_mimetype_mapping() {
/** @noinspection PhpIncludeInspection */
include_once DRUPAL_ROOT . '/includes/file.mimetypes.inc';
return file_mimetype_mapping();
}