trait FileMimetypes in AmazonS3 7.2
Same name in this branch
- 7.2 tests/DrupalAdapter/FileMimetypes.php \Drupal\amazons3Test\DrupalAdapter\FileMimetypes
- 7.2 src/DrupalAdapter/FileMimetypes.php \Drupal\amazons3\DrupalAdapter\FileMimetypes
Methods that map to includes/file.mimetypes.inc.
@trait FileMimetypes @package Drupal\amazons3\DrupalAdapter @codeCoverageIgnore
Hierarchy
- trait \Drupal\amazons3\DrupalAdapter\FileMimetypes
File
- src/
DrupalAdapter/ FileMimetypes.php, line 12
Namespace
Drupal\amazons3\DrupalAdapterView source
trait FileMimetypes {
/**
* @return array
*/
public static function file_mimetype_mapping() {
/** @noinspection PhpIncludeInspection */
include_once DRUPAL_ROOT . '/includes/file.mimetypes.inc';
return file_mimetype_mapping();
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
FileMimetypes:: |
public static | function |