You are here

function addthis_field_info in AddThis 7.4

Implements hook_field_info().

File

includes/addthis.field.inc, line 11
Field related hook implementations for the AddThis-module.

Code

function addthis_field_info() {
  return array(
    AddThis::FIELD_TYPE => array(
      'label' => t('AddThis'),
      'description' => t('This field stores addthis settings in the database.'),
      'settings' => array(
        'max_length' => 255,
      ),
      'default_widget' => AddThis::WIDGET_TYPE,
      'default_formatter' => AddThis::WIDGET_TYPE_DISABLED,
    ),
  );
}