function get_bundle_field_label_info in Entity Construction Kit (ECK) 7
Same name and namespace in other branches
- 7.3 eck.bundle.inc \get_bundle_field_label_info()
- 7.2 eck.bundle.inc \get_bundle_field_label_info()
1 call to get_bundle_field_label_info()
File
- ./
eck.bundle.inc, line 346 - All of the menu, pages, and forms related to bundle administration.
Code
function get_bundle_field_label_info($entity_type, $bundle) {
$info = entity_get_info();
if (array_key_exists('field label', $info[$entity_type->name]['bundles'][$bundle->name])) {
return $info[$entity_type->name]['bundles'][$bundle->name]['field label'];
}
else {
return NULL;
}
}