You are here

function views_handler_field_tweetbutton::option_definition in Tweet Button 6

3 calls to views_handler_field_tweetbutton::option_definition()
views_handler_field_tweetbutton_node::option_definition in ./tweetbutton_views_field_handlers.inc
views_handler_field_tweetbutton_taxonomy::option_definition in ./tweetbutton_views_field_handlers.inc
views_handler_field_tweetbutton_user::option_definition in ./tweetbutton_views_field_handlers.inc
3 methods override views_handler_field_tweetbutton::option_definition()
views_handler_field_tweetbutton_node::option_definition in ./tweetbutton_views_field_handlers.inc
views_handler_field_tweetbutton_taxonomy::option_definition in ./tweetbutton_views_field_handlers.inc
views_handler_field_tweetbutton_user::option_definition in ./tweetbutton_views_field_handlers.inc

File

./tweetbutton_views_field_handlers.inc, line 9

Class

views_handler_field_tweetbutton

Code

function option_definition() {
  $options['label'] = array(
    'default' => $this->definition['title'],
    'translatable' => TRUE,
  );
  $options['tweetbutton_button'] = array(
    'default' => 'vertical',
  );
  $options['tweetbutton_text'] = array(
    'default' => variable_get('tweetbutton_tweet_text', ''),
  );
  return $options;
}