function _key_clear_plugin_cache in Key 7
Same name and namespace in other branches
- 7.3 key.module \_key_clear_plugin_cache()
- 7.2 key.module \_key_clear_plugin_cache()
Helper function to clear key plugin caches.
5 calls to _key_clear_plugin_cache()
- key_get_integrations in ./
key.module - Gets information about key integrations.
- key_get_providers in ./
key.module - Gets information about all key providers.
- key_get_types in ./
key.module - Gets information about all key types.
- key_ui_key_config_form in modules/
key_ui/ includes/ key_ui.admin.inc - Form constructor for the key configuration edit form.
- key_ui_key_integration_form in modules/
key_ui/ includes/ key_ui.admin.inc - Menu callback; displays the list of key integrations.
File
- ./
key.module, line 699 - Provides the ability to manage keys, which can be used by other modules.
Code
function _key_clear_plugin_cache($type = NULL) {
if ($type) {
cache_clear_all("plugins:key:{$type}", 'cache');
}
else {
cache_clear_all('plugins:key:', 'cache', TRUE);
}
}