function eck_title_property_entity_info in Entity Construction Kit (ECK) 7.2
Same name and namespace in other branches
- 7.3 plugins/property_behavior/title.inc \eck_title_property_entity_info()
Make whatever property is using the title behavior, the label.
1 string reference to 'eck_title_property_entity_info'
File
- plugins/
property_behavior/ title.inc, line 56
Code
function eck_title_property_entity_info($property, $var) {
$info = $var;
unset($info['label callback']);
$info['entity keys']['label'] = $property;
return $info;
}