You are here

function references_dialog_close_on_submit in References dialog 7

Check if we should close the dialog upon submition.

2 calls to references_dialog_close_on_submit()
references_dialog_entity_insert in ./references_dialog.module
Implements hook_entity_insert().
references_dialog_entity_update in ./references_dialog.module
Implements hook_entity_update().

File

./references_dialog.module, line 659
This the main module file.

Code

function references_dialog_close_on_submit() {
  return !isset($_GET['closeonsubmit']) || $_GET['closeonsubmit'];
}