You are here

function shurly_handler_field_short_url::option_definition in ShURLy 6

Same name and namespace in other branches
  1. 7 views/shurly_handler_field_short_url.inc \shurly_handler_field_short_url::option_definition()

File

views/shurly_handler_field_short_url.inc, line 16
Shurly Views handler for short URL

Class

shurly_handler_field_short_url
Field handler to present a link to the short URL entry.

Code

function option_definition() {
  $options = parent::option_definition();
  $options['text'] = array(
    'default' => '',
    'translatable' => TRUE,
  );
  $options['longshort'] = array(
    'default' => 0,
    'translatable' => FALSE,
  );
  $options['link'] = array(
    'default' => FALSE,
    'translatable' => FALSE,
  );
  return $options;
}