You are here

function empty_array_check in Lingotek Translation 7.7

4 calls to empty_array_check()
config_download_ready in ./lingotek.bulk_grid.inc
config_upload_edited in ./lingotek.bulk_grid.inc
lingotek_grid_download_ready in ./lingotek.bulk_grid.inc
lingotek_grid_upload_edited in ./lingotek.bulk_grid.inc

File

./lingotek.bulk_grid.inc, line 1402

Code

function empty_array_check($array, $entity_type, $message) {
  if (empty($array)) {
    drupal_set_message(filter_xss(t($message)));
    drupal_goto('admin/settings/lingotek/manage/' . $entity_type);
  }
}