function media_gallery_lightbox_delivery_callback in Media Gallery 7.2
Same name and namespace in other branches
- 7 media_gallery.module \media_gallery_lightbox_delivery_callback()
Menu page delivery callback. This is a delegate function. In case, the user has no access to the menu item, the menu system does not load the specified file and therefore can not use the custom deliver function.
1 string reference to 'media_gallery_lightbox_delivery_callback'
- media_gallery_menu in ./
media_gallery.module - Implements hook_menu().
File
- ./
media_gallery.module, line 1874
Code
function media_gallery_lightbox_delivery_callback($page_content) {
if (!function_exists('media_gallery_lightbox_page_deliver')) {
module_load_include('inc', 'media_gallery', 'media_gallery.pages');
}
media_gallery_lightbox_page_deliver($page_content);
}