function office_hours_field_info in Office Hours 5
Same name and namespace in other branches
- 6.2 office_hours.module \office_hours_field_info()
- 6 office_hours.module \office_hours_field_info()
- 7 includes/office_hours.field.inc \office_hours_field_info()
Implementation of hook_field_info
Return value
An array keyed by field type name. Each element of the array is an associative array with these keys and values:
- "label": The human-readable label for the field type.
File
- ./
office_hours.module, line 28 - Creates a field and widget for inserting working or office hours per day
Code
function office_hours_field_info() {
return array(
'office_hours' => array(
'label' => 'Office Hours',
),
);
}