function views_gantt_in_dialog in Views Gantt 7.2
Check if we are in a gantt dialog.
Return value
boolean if we are in a dialog.
4 calls to views_gantt_in_dialog()
- views_gantt_entity_insert in ./
views_gantt.module - Implements hook_entity_insert().
- views_gantt_entity_update in ./
views_gantt.module - Implements hook_entity_update().
- views_gantt_page_alter in ./
views_gantt.module - Implements hook_page_alter().
- views_gantt_redirect_page in ./
views_gantt.module - Page callback for our redirect page.
File
- ./
views_gantt.module, line 377 - Module file for Views Gantt
Code
function views_gantt_in_dialog() {
return isset($_GET['render']) && $_GET['render'] == 'gantt-dialog';
}