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()

File

src/lightbox2_handler_field_lightbox2.php, line 16
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.

Namespace

Drupal\lightbox2

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;
}