You are here

function cacheflush_ui_cacheflush_ui_tabs in CacheFlush 7.3

Same name and namespace in other branches
  1. 8 modules/cacheflush_ui/cacheflush_ui.module \cacheflush_ui_cacheflush_ui_tabs()

Implements hook_cacheflush_ui_tabs().

1 call to cacheflush_ui_cacheflush_ui_tabs()
cacheflush_ui_preset_form_options in modules/cacheflush_ui/includes/cacheflush_ui.presets.inc
Callback: cacheflush_ui_preset_form().

File

modules/cacheflush_ui/cacheflush_ui.module, line 188
Cacheflush User Interface.

Code

function cacheflush_ui_cacheflush_ui_tabs() {
  $tabs = array(
    'vertical_tabs_core' => array(
      'name' => t('Core cache tables'),
      'validation' => 'cacheflush_ui_tab_validation',
      'weight' => -100,
    ),
    'vertical_tabs_functions' => array(
      'name' => t('Other core cache options'),
      'validation' => 'cacheflush_ui_tab_validation',
      'weight' => -90,
    ),
    'vertical_tabs_custom' => array(
      'name' => t('Contrib cache tables'),
      'validation' => 'cacheflush_ui_tab_validation',
      'weight' => -80,
    ),
    'vertical_tabs_often' => array(
      'name' => t('Other contrib cache options'),
      'validation' => 'cacheflush_ui_tab_validation',
      'weight' => -70,
    ),
  );
  return $tabs;
}