1 image.module image_style_get_allowed_uris()

Get a list of all whitelisted URIs for image styles.

Return value

array An array of all whitelisted URIs.

File

core/modules/image/image.module, line 1011
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');
}