You are here

function discussthis_field_info in Discuss This! 7.2

Implements hook_field_info().

Provides the description of the field.

File

./discussthis.fields.inc, line 18
DiscussThis field declaration using Field Types API.

Code

function discussthis_field_info() {
  return array(
    // We name our field as the associative name of the array.
    'field_discussthis' => array(
      'label' => t('DiscussThis link'),
      'description' => t('Provide a DiscussThis link to access discussions.'),
      'default_widget' => 'field_discussthis_form',
      'default_formatter' => 'field_discussthis_link',
    ),
  );
}