function theme_flush_page_cache_custom_settings_table in Flush page cache 6
Same name and namespace in other branches
- 7 flush_page_cache.admin.inc \theme_flush_page_cache_custom_settings_table()
Theme flush page cache custom settings table.
1 theme call to theme_flush_page_cache_custom_settings_table()
- flush_page_cache_admin_settings in ./
flush_page_cache.admin.inc - Form builder; Administration page for the 'Flush page cache' module.
File
- ./
flush_page_cache.admin.inc, line 237 - Administration pages for the 'Flush page cache' module.
Code
function theme_flush_page_cache_custom_settings_table($form) {
$rows = array();
foreach (element_children($form) as $key) {
$rows[$key] = array(
'data' => array(
drupal_render($form[$key]['path']),
drupal_render($form[$key]['cid']),
drupal_render($form[$key]['table']),
drupal_render($form[$key]['wildcard']),
drupal_render($form[$key]['operations']),
),
);
}
$headers = array(
t('Path'),
t('Cache ID'),
t('Table'),
t('Wildcard'),
t('Operations'),
);
return theme('table', $headers, $rows);
}