You are here

function office_hours_field_formatter_info in Office Hours 6

Same name and namespace in other branches
  1. 5 office_hours.module \office_hours_field_formatter_info()
  2. 6.2 office_hours.module \office_hours_field_formatter_info()
  3. 7 includes/office_hours.formatter.inc \office_hours_field_formatter_info()

Implementation of hook_field_formatter_info().

File

./office_hours.module, line 237
Creates a field and widget for inserting working or office hours per day

Code

function office_hours_field_formatter_info() {
  return array(
    'default' => array(
      'label' => 'default',
      'field types' => array(
        'office_hours',
      ),
      'multiple values' => CONTENT_HANDLE_MODULE,
    ),
    'grouped' => array(
      'label' => 'grouped',
      'field types' => array(
        'office_hours',
      ),
      'multiple values' => CONTENT_HANDLE_MODULE,
    ),
  );
}