function cacheflush_cacheflush_tabs_options in CacheFlush 7.3
Same name and namespace in other branches
- 8 cacheflush.module \cacheflush_cacheflush_tabs_options()
Implements hook_cacheflush_tabs_options().
File
- ./
cacheflush.module, line 60 - Cacheflush module.
Code
function cacheflush_cacheflush_tabs_options() {
$options = array(
'query-strings' => array(
'description' => 'Change query-strings on css/js files to enforce reload for all users.',
'category' => 'vertical_tabs_functions',
'functions' => array(
'0' => array(
'#name' => '_drupal_flush_css_js',
'#params' => array(),
),
),
),
'css' => array(
'description' => 'Empty the css cache.',
'category' => 'vertical_tabs_functions',
'functions' => array(
'0' => array(
'#name' => 'drupal_clear_css_cache',
'#params' => array(),
),
),
),
'js' => array(
'description' => 'Empty the js cache.',
'category' => 'vertical_tabs_functions',
'functions' => array(
'0' => array(
'#name' => 'drupal_clear_js_cache',
'#params' => array(),
),
),
),
'registry' => array(
'description' => 'Empty the registry cache.',
'category' => 'vertical_tabs_functions',
'functions' => array(
'0' => array(
'#name' => 'registry_rebuild',
'#params' => array(),
),
),
),
'theme' => array(
'description' => 'Rebuild the theme data.',
'category' => 'vertical_tabs_functions',
'functions' => array(
'0' => array(
'#name' => 'system_rebuild_theme_data',
'#params' => array(),
),
'1' => array(
'#name' => 'drupal_theme_rebuild',
'#params' => array(),
),
),
),
'entity_info' => array(
'description' => 'Empty the entity info cache.',
'category' => 'vertical_tabs_functions',
'functions' => array(
'0' => array(
'#name' => 'entity_info_cache_clear',
'#params' => array(),
),
),
),
'actions_synchronize' => array(
'description' => 'Synchronize to catch any actions that were added or removed.',
'category' => 'vertical_tabs_functions',
'functions' => array(
'0' => array(
'#name' => 'actions_synchronize',
'#params' => array(),
),
),
),
'update_bootstrap' => array(
'description' => 'Rebuild the bootstrap module list. We do this here so that developers can get new hook_boot() implementations registered without having to write a hook_update_N() function.',
'category' => 'vertical_tabs_functions',
'functions' => array(
'0' => array(
'#name' => '_system_update_bootstrap_status',
'#params' => array(),
),
),
),
'admin_menu' => array(
'description' => 'The administration menu clear cache function.',
'category' => 'vertical_tabs_often',
'functions' => array(
'0' => array(
'#name' => 'admin_menu_flush_caches',
'#params' => array(),
),
),
),
'ctools' => array(
'description' => 'The Ctools clear cache function',
'category' => 'vertical_tabs_often',
'functions' => array(
'0' => array(
'#name' => 'ctools_flush_caches',
'#params' => array(),
),
),
),
'eck' => array(
'description' => 'Cache table for ECK',
'category' => 'vertical_tabs_often',
'functions' => array(
'0' => array(
'#name' => 'cache_clear_all',
'#params' => array(
'*',
'cache_eck',
TRUE,
),
),
),
),
);
return $options;
}