1 image.module image_style_get_allowed_uris()

Get a list of all allowed URIs for image styles.

Return value

array: An array of all allowed URIs.

File

core/modules/image/image.module, line 1067
Exposes global functionality for creating image styles.

Code

function image_style_get_allowed_uris() {
  $added_uris = image_style_add_allowed_uri();
  return $added_uris + (array) tempstore_get('image_style_allowed_uris', 'list');
}