function eck_language_bundle_multilingual in Entity Construction Kit (ECK) 7.3
Same name and namespace in other branches
- 7.2 plugins/property_behavior/language.inc \eck_language_bundle_multilingual()
What?.
1 call to eck_language_bundle_multilingual()
- eck_language_property_widget in plugins/
property_behavior/ language.inc - Language widget.
File
- plugins/
property_behavior/ language.inc, line 89
Code
function eck_language_bundle_multilingual($entity) {
if ($bundle = Bundle::loadByMachineName($entity
->entityType() . '_' . $entity
->bundle())) {
return isset($bundle->config['multilingual']) && $bundle->config['multilingual'];
}
return FALSE;
}