function lightbox2_lightbox_types in Lightbox2 8
Same name and namespace in other branches
- 7.2 lightbox2.module \lightbox2_lightbox_types()
- 7 lightbox2.module \lightbox2_lightbox_types()
Helper function for possible lightbox styles.
2 calls to lightbox2_lightbox_types()
- lightbox2_field_formatter_settings_form in ./
lightbox2.module - Implements hook_field_formatter_settings_form().
- lightbox2_field_formatter_settings_summary in ./
lightbox2.module - Implements hook_field_formatter_settings_summary().
File
- ./
lightbox2.module, line 907 - Enables the use of lightbox2 which places images above your current page, not within. This frees you from the constraints of the layout, particularly column widths.
Code
function lightbox2_lightbox_types() {
return array(
'lightbox' => t('Single lightbox'),
'lightshow' => t('Lightshow'),
);
}