You are here

function skinr_cache_reset in Skinr 8.2

Same name and namespace in other branches
  1. 7.2 skinr.module \skinr_cache_reset()

Clears cached Skinr information.

5 calls to skinr_cache_reset()
skinr_modules_disabled in ./skinr.module
Implements hook_modules_disabled().
skinr_modules_enabled in ./skinr.module
Implements hook_modules_enabled().
skinr_themes_disabled in ./skinr.module
Implements hook_themes_disabled().
skinr_themes_enabled in ./skinr.module
Implements hook_themes_enabled().
update.php in tests/update.php
Simulates cache clearing while running update script.

File

./skinr.module, line 63
Handles core Skinr functionality.

Code

function skinr_cache_reset() {

  // @todo Use tags instead?
  // skinr_context_group_defaults, skinr_skinable_hooks
  \Drupal::cache()
    ->deleteMultiple(array(
    'skinr_implements_api',
    'skinr_skin_defaults',
    'skinr_skin_info',
    'skinr_group_info',
    'skinr_config_info',
  ));
}