function customfilter_settings in Custom filter 5
Same name and namespace in other branches
- 6 customfilter.admin.inc \customfilter_settings()
- 7.2 customfilter.module \customfilter_settings()
- 7 customfilter.module \customfilter_settings()
Administration page.
1 string reference to 'customfilter_settings'
- customfilter_menu in ./
customfilter.module - Implements hook_menu().
File
- ./
customfilter.module, line 536
Code
function customfilter_settings() {
$header = array(
t('Name'),
t('Description'),
array(
'data' => t('Operations'),
'colspan' => '2',
),
);
$rows = customfilter_set_get_rows();
$table = theme('table', $header, $rows ? $rows : array(
array(
array(
'data' => t('No custom filter defined.'),
'colspan' => 5,
),
),
));
return $table;
}