function colorbox_handler_field_colorbox::option_definition in Colorbox 6
Same name and namespace in other branches
- 7.2 views/colorbox_handler_field_colorbox.inc \colorbox_handler_field_colorbox::option_definition()
- 7 views/colorbox_handler_field_colorbox.inc \colorbox_handler_field_colorbox::option_definition()
File
- views/
colorbox_handler_field_colorbox.inc, line 18 - Views handlers for Colorbox module.
Class
- colorbox_handler_field_colorbox
- 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['gid'] = array(
'default' => TRUE,
);
$options['custom_gid'] = array(
'default' => '',
);
$options['width'] = array(
'default' => '600px',
);
$options['height'] = array(
'default' => '400px',
);
return $options;
}