function _cck_table_default_help_text in CCK Table Field 8
Same name and namespace in other branches
- 7 cck_table.module \_cck_table_default_help_text()
1 call to _cck_table_default_help_text()
- cck_table_field_widget_form in ./
cck_table.module - Implements hook_field_widget_form().
File
- ./
cck_table.module, line 191 - Defines a field type that outputs data in a table.
Code
function _cck_table_default_help_text($display) {
switch ($display) {
case 'first_row_header':
$current_display = "Currently the first row is the header to this table";
break;
case 'without_header':
$current_display = "Currently there is no header to this table";
break;
}
$default_description = "Enter table cell data separated by |, one row per line. {$current_display}";
return $default_description;
}