function lightbox2_handler_field_lightbox2::option_definition in Lightbox2 6
Same name and namespace in other branches
- 8 lightbox2_handler_field_lightbox2.inc \lightbox2_handler_field_lightbox2::option_definition()
- 7.2 lightbox2_handler_field_lightbox2.inc \lightbox2_handler_field_lightbox2::option_definition()
- 7 lightbox2_handler_field_lightbox2.inc \lightbox2_handler_field_lightbox2::option_definition()
File
- ./
lightbox2_handler_field_lightbox2.inc, line 13
Class
- lightbox2_handler_field_lightbox2
- 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;
}