You are here

function lingotek_get_all_entities_by_profile in Lingotek Translation 7.7

Same name and namespace in other branches
  1. 7.5 lingotek.util.inc \lingotek_get_all_entities_by_profile()
  2. 7.6 lingotek.util.inc \lingotek_get_all_entities_by_profile()
1 call to lingotek_get_all_entities_by_profile()
lingotek_admin_profile_form_submit in ./lingotek.admin.inc

File

./lingotek.util.inc, line 2198
Utility functions.

Code

function lingotek_get_all_entities_by_profile($profile_id) {
  $profile = LingotekProfile::loadById($profile_id);
  return $profile
    ->getEntities();
}