You are here

function machine_name_field_formatter_info in Machine name 7

Same name and namespace in other branches
  1. 7.2 machine_name.module \machine_name_field_formatter_info()

Implements hook_field_formatter_info().

File

./machine_name.module, line 121
Defines a machine name field type, relying on Form API's #type 'machine_name'.

Code

function machine_name_field_formatter_info() {
  return array(
    'machine_name_default' => array(
      'label' => t('Default'),
      'field types' => array(
        'machine_name',
      ),
    ),
  );
}