You are here

function button_field_widget_info in Button Field 6

Implementation of hook_widget_info().

Return value

array

File

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

Code

function button_field_widget_info() {
  return array(
    'button_field_html' => array(
      'label' => 'HTML Button',
      'field types' => array(
        'button_field',
      ),
    ),
    'button_field_image' => array(
      'label' => 'Image Button',
      'field types' => array(
        'button_field',
      ),
    ),
  );

  // end return
}