You are here

function imagecache_external_config in Imagecache External 8

Helper function that returns a config object for imagecache_external.

Return value

\Drupal\Core\Config\ImmutableConfig An immutable configuration object.

5 calls to imagecache_external_config()
imagecache_external_batch_flush in ./imagecache_external.module
The batch callback.
imagecache_external_fetch in ./imagecache_external.module
Api function to fetch a url.
imagecache_external_generate_path in ./imagecache_external.module
Util to generate a path to an image.
imagecache_external_get_directory_path in ./imagecache_external.module
Helper function to get externals directory.
imagecache_external_validate_host in ./imagecache_external.module
Helper function to validate the image host against the whitelist.

File

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

Code

function imagecache_external_config() {
  $config = \Drupal::config('imagecache_external.settings');
  return $config;
}