function _lightbox2_get_formatter_id in Lightbox2 6
2 calls to _lightbox2_get_formatter_id()
- lightbox2_field_formatter_info in ./
lightbox2.module - Implementation of hook_field_formatter_info().
- lightbox2_theme in ./
lightbox2.module - Implementation of hook_theme().
File
- ./
lightbox2.module, line 899 - 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_get_formatter_id($options) {
$id = 'imagefield__' . $options['type'];
if ($options['compact']) {
$id .= '_compact';
}
$id .= '__' . $options['source'] . '__' . $options['dest'];
return $id;
}