function brightcove_field_deliver_dialog in Brightcove Video Connect 7.2
Same name and namespace in other branches
- 7.7 brightcove.module \brightcove_field_deliver_dialog()
- 7.3 brightcove_field/brightcove_field.module \brightcove_field_deliver_dialog()
- 7.4 brightcove_field/brightcove_field.module \brightcove_field_deliver_dialog()
- 7.5 brightcove_field/brightcove_field.module \brightcove_field_deliver_dialog()
- 7.6 brightcove.module \brightcove_field_deliver_dialog()
Custom page delivery callback, for content in dialog.
@print Html for display.
Parameters
$page: Content returned by page callback.
1 string reference to 'brightcove_field_deliver_dialog'
- brightcove_field_menu in brightcove_field/
brightcove_field.module - Implementation of hook_menu().
File
- brightcove_field/
brightcove_field.module, line 1557 - Brightcove field module provides a Content Construction Kit module to developers, allowing them to browse videos in their Brightcove Studio and upload them.
Code
function brightcove_field_deliver_dialog($page) {
if (is_array($page)) {
$page = drupal_render($page);
}
$output = '<html><head><title></title>' . drupal_get_css() . drupal_get_js() . '</head><body class="dialog">' . $page . '</body></html>';
print $output;
}