function eck_language_property_property_info in Entity Construction Kit (ECK) 7.3
Same name and namespace in other branches
- 7.2 plugins/property_behavior/language.inc \eck_language_property_property_info()
Extending property's info default information.
1 string reference to 'eck_language_property_property_info'
- language.inc in plugins/
property_behavior/ language.inc
File
- plugins/
property_behavior/ language.inc, line 48
Code
function eck_language_property_property_info($property, $vars) {
if (isset($vars['properties'][$property])) {
$vars['properties'][$property] += array(
'type' => 'token',
'options list' => 'entity_metadata_language_list',
'description' => t('Entity language.'),
);
}
return $vars;
}