You are here

function button_field_field_info in Button Field 7

Same name and namespace in other branches
  1. 6 button_field.module \button_field_field_info()

Implements hook_field_info().

File

./button_field.module, line 77
Defines a field, widget and formatter for the button field type.

Code

function button_field_field_info() {
  return array(
    'button_field' => array(
      'label' => t('Button'),
      'description' => t('Displays a button that, when clicked, fires a rules event'),
      'default_widget' => 'button_field_html',
      'default_formatter' => 'button_field_default',
    ),
  );
}