You are here

function shorten_flush_caches in Shorten URLs 8

Same name and namespace in other branches
  1. 8.2 shorten.module \shorten_flush_caches()
  2. 6 shorten.module \shorten_flush_caches()
  3. 7.2 shorten.module \shorten_flush_caches()
  4. 7 shorten.module \shorten_flush_caches()

Implements hook_flush_caches().

File

./shorten.module, line 41
Shortens URLs via external services.

Code

function shorten_flush_caches() {

  // if (\Drupal::config('shorten.settings')->get('shorten_cache_clear_all')) {
  //   return array('cache_shorten');
  // }
  return array();
}