function composer_autoload_admin_clear_cache in Composer Autoload 7
Form callback; Called when the Composer Autoload form is submitted.
Clears the Composer Autoload cache.
1 string reference to 'composer_autoload_admin_clear_cache'
- composer_autoload_admin in ./
composer_autoload.admin.inc - Menu callback; Configuration settings for the Composer Autoload module.
File
- ./
composer_autoload.admin.inc, line 31 - Administration settings for the Composer Autoload module.
Code
function composer_autoload_admin_clear_cache() {
// Clear the composer_autoload cache.
cache_clear_all('composer_autoload', 'cache');
// Reset the static cache for composer_autoload too.
drupal_static_reset('composer_autoload');
}