You are here

function dimension_field_formatter_info in Dimension 7

Implements hook_field_formatter_info().

File

./dimension.module, line 69

Code

function dimension_field_formatter_info() {
  return array(
    'dimension_formatter' => array(
      'label' => t('Dimensions as table'),
      'description' => t('Display the dimensions as a table.'),
      'field types' => array(
        'dimension',
      ),
    ),
    'dimension_formatter_simple' => array(
      'label' => t('Dimensions as simple line'),
      'description' => t('Display the dimensions as a single line.'),
      'field types' => array(
        'dimension',
      ),
    ),
  );
}