function _cacheflush_ui_tabs_description in CacheFlush 7.3
Update form tabs with Notes.
1 call to _cacheflush_ui_tabs_description()
- cacheflush_ui_preset_form_options in modules/
cacheflush_ui/ includes/ cacheflush_ui.presets.inc - Callback: cacheflush_ui_preset_form().
File
- modules/
cacheflush_ui/ includes/ cacheflush_ui.presets.inc, line 74 - Contains the CacheflushUI forms function.
Code
function _cacheflush_ui_tabs_description(&$form) {
$form['cacheflush_form_mani_note'] = array(
'#type' => 'item',
'#title' => t('Cache sources'),
'#weight' => 40,
'#description' => t('Select below the different cache sources you wish to clear when your preset is executed. Don`t be afraid to select them, all these are flushed when you normally clear all the caches. Select only those you need for better performance.'),
);
$form['vertical_tabs_core']['note'] = array(
'#type' => 'item',
'#title' => t('Note'),
'#description' => t('Select any of the cache database tables below, to be truncated when this preset is executed.'),
'#weight' => -10,
);
$form['vertical_tabs_functions']['note'] = array(
'#type' => 'item',
'#title' => t('Note'),
'#description' => t('Select any of the below functions to be run when this preset is executed.'),
'#weight' => -10,
);
$form['vertical_tabs_custom']['note'] = array(
'#type' => 'item',
'#title' => t('Note'),
'#description' => t('Select any of the tables defined by contributed modules to be flushed when this preset is executed.'),
'#weight' => -10,
);
$form['vertical_tabs_often']['note'] = array(
'#type' => 'item',
'#title' => t('Note'),
'#description' => t('Some contrib modules have unique ways to store their cache, or to flush them.<br />These require custom configuration, so if you can`t find some of your contrib modules here, please submit us an issue on <a href="@url">http://drupal.org/project/cacheflush/issues/</a><br />
Select any from the list below to clear when this preset is executed.', array(
'@url' => url('http://drupal.org/project/issues/cacheflush/'),
)),
'#weight' => -10,
);
}