You are here

public static function FileMimetypes::file_mimetype_mapping in AmazonS3 7.2

Same name in this branch
  1. 7.2 tests/DrupalAdapter/FileMimetypes.php \Drupal\amazons3Test\DrupalAdapter\FileMimetypes::file_mimetype_mapping()
  2. 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\DrupalAdapter

Code

public static function file_mimetype_mapping() {

  /** @noinspection PhpIncludeInspection */
  include_once DRUPAL_ROOT . '/includes/file.mimetypes.inc';
  return file_mimetype_mapping();
}