You are here

function imagecache_external_allowed_mimetypes in Imagecache External 8

Same name and namespace in other branches
  1. 7.2 imagecache_external.module \imagecache_external_allowed_mimetypes()

Helper function that returns allowed mimetypes for external caching.

Return value

array The allowed mimetypes.

2 calls to imagecache_external_allowed_mimetypes()
imagecache_external_fetch in ./imagecache_external.module
Api function to fetch a url.
imagecache_external_file_download in ./imagecache_external.module
Implements hook_file_download().

File

./imagecache_external.module, line 450
Allows the usage of Image Styles on external images.

Code

function imagecache_external_allowed_mimetypes() {
  return imagecache_external_config()
    ->get('imagecache_external_allowed_mimetypes');
}