function lingotek_admin_profile_usage_by_types in Lingotek Translation 7.5
Same name and namespace in other branches
- 7.7 lingotek.admin.inc \lingotek_admin_profile_usage_by_types()
- 7.4 lingotek.admin.inc \lingotek_admin_profile_usage_by_types()
- 7.6 lingotek.admin.inc \lingotek_admin_profile_usage_by_types()
2 calls to lingotek_admin_profile_usage_by_types()
- lingotek_admin_profiles_form in ./
lingotek.admin.inc - lingotek_admin_profile_form in ./
lingotek.admin.inc - Content defaults Form
File
- ./
lingotek.admin.inc, line 510
Code
function lingotek_admin_profile_usage_by_types($profile_id) {
$bundles_using_profile = lingotek_get_bundles_by_profile_id($profile_id);
$count_types = 0;
foreach ($bundles_using_profile as $bup) {
$count_types += count($bup);
}
return $count_types;
}