You are here

function _cacheflush_get_option_list in CacheFlush 7.3

Return a list of cache options to be cleared.

Return value

array List cache options.

4 calls to _cacheflush_get_option_list()
CacheFlushTest::createTestEntitys in ./cacheflush.test
Create cacheflush test entities.
CacheFlushUICRUD::testAddInterfaceIntegrity in modules/cacheflush_ui/cacheflush_ui.test
Test if add interface has all buttons/links/etc.
CacheFlushUICRUDAccessTest::createTestEntitys in modules/cacheflush_ui/cacheflush_ui.test
Create cacheflush test entities.
cacheflush_ui_preset_form_options in modules/cacheflush_ui/includes/cacheflush_ui.presets.inc
Callback: cacheflush_ui_preset_form().

File

./cacheflush.module, line 187
Cacheflush module.

Code

function _cacheflush_get_option_list() {
  $core_tables = cacheflush_create_tab_options(cacheflush_get_core_tabels(), 'vertical_tabs_core');
  $custom_tables = cacheflush_create_tab_options(module_invoke_all('flush_caches'), 'vertical_tabs_custom');
  $other = module_invoke_all('cacheflush_tabs_options');
  return array_merge($core_tables, $custom_tables, $other);
}