You are here

function _encrypt_clear_plugin_cache in Encrypt 7.3

Same name and namespace in other branches
  1. 7.2 encrypt.module \_encrypt_clear_plugin_cache()

Helper function to clear encrypt plugin caches.

3 calls to _encrypt_clear_plugin_cache()
encrypt_config_form in includes/encrypt.admin.inc
Form constructor for the configuration edit form.
encrypt_get_encryption_methods in ./encrypt.module
Returns information for all encryption methods.
encrypt_get_key_providers in ./encrypt.module
Returns info for all encryption key providers.

File

./encrypt.module, line 554
Main Encrypt Drupal File

Code

function _encrypt_clear_plugin_cache($type = NULL) {
  if ($type) {
    cache_clear_all("plugins:encrypt:{$type}", 'cache');
  }
  else {
    cache_clear_all('plugins:encrypt:', 'cache', TRUE);
  }
}