You are here

function lightbox2_handler_field_lightbox2::option_definition in Lightbox2 8

Same name in this branch
  1. 8 lightbox2_handler_field_lightbox2.inc \lightbox2_handler_field_lightbox2::option_definition()
  2. 8 src/lightbox2_handler_field_lightbox2.php \Drupal\lightbox2\lightbox2_handler_field_lightbox2::option_definition()
Same name and namespace in other branches
  1. 6 lightbox2_handler_field_lightbox2.inc \lightbox2_handler_field_lightbox2::option_definition()
  2. 7.2 lightbox2_handler_field_lightbox2.inc \lightbox2_handler_field_lightbox2::option_definition()
  3. 7 lightbox2_handler_field_lightbox2.inc \lightbox2_handler_field_lightbox2::option_definition()

File

./lightbox2_handler_field_lightbox2.inc, line 14
Contain the integration with views A handler to provide a field that is completely custom by the administrator.

Class

lightbox2_handler_field_lightbox2
@file Contain the integration with views A handler to provide a field that is completely custom by the administrator.

Code

function option_definition() {
  $options = parent::option_definition();
  $options['trigger_field'] = array(
    'default' => '',
  );
  $options['popup'] = array(
    'default' => '',
  );
  $options['caption'] = array(
    'default' => '',
  );
  $options['rel_group'] = array(
    'default' => TRUE,
  );
  $options['custom_group'] = array(
    'default' => '',
  );
  $options['height'] = array(
    'default' => '400px',
  );
  $options['width'] = array(
    'default' => '600px',
  );
  return $options;
}