function eck__entity_type__custom_property_label in Entity Construction Kit (ECK) 7
1 call to eck__entity_type__custom_property_label()
- eck__entity_type__form in ./
eck.entity_type.inc - Callback for adding entity types functionality.
File
- ./
eck.entity_type.inc, line 661 - ENTITY TYPE
Code
function eck__entity_type__custom_property_label($property) {
$type = $property['type'];
if (!in_array($type, array(
'text',
'decimal',
'integer',
'date',
))) {
$type = l($type, "admin/structure/eck/{$type}");
}
return $property['label'] . ' (' . t('type: !type', array(
'!type' => $type,
)) . ')';
}