You are here

function tweetbutton_field_info in Tweet Button 7.2

Implements hook_field_info().

File

./tweetbutton.module, line 21

Code

function tweetbutton_field_info() {
  return array(
    'tweetbutton' => array(
      'label' => 'Tweetbutton',
      'description' => 'Creates a tweetbutton field',
      'instance_settings' => array(
        'tweet_text' => '',
        'author_twitter' => '',
      ),
      'default_widget' => 'tweetbutton',
      'default_formatter' => 'tweetbutton_formatter_button_horizontal',
    ),
  );
}