function empty_array_check in Lingotek Translation 7.7
4 calls to empty_array_check()
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);
}
}