You are here

function office_hours_field_formatter_info in Office Hours 7

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. 6 office_hours.module \office_hours_field_formatter_info()

Implements hook_field_formatter_info().

File

includes/office_hours.formatter.inc, line 11
Implements the office_hours formatter.

Code

function office_hours_field_formatter_info() {
  return array(
    'office_hours' => array(
      'label' => t('Office hours'),
      'field types' => array(
        'office_hours',
      ),
      'settings' => _office_hours_field_formatter_defaults(),
    ),
  );
}