function field_collection_item_is_translatable in Field collection 7
Determine if field collection items can be translated.
Return value
Boolean indicating whether field collection items can be translated.
7 calls to field_collection_item_is_translatable()
- FieldCollectionItemEntity::save in ./
field_collection.entity.inc - Save the field collection item.
- field_collection_entity_translation_delete in ./
field_collection.module - Implements hook_entity_translation_delete().
- field_collection_field_attach_form in ./
field_collection.module - Implements hook_field_attach_form().
- field_collection_field_formatter_settings_form in ./
field_collection.module - Implements hook_field_formatter_settings_form().
- field_collection_field_widget_embed_validate in ./
field_collection.module - FAPI validation of an individual field collection element.
File
- ./
field_collection.module, line 2125 - Module implementing field collection field type.
Code
function field_collection_item_is_translatable() {
return (bool) module_invoke('entity_translation', 'enabled', 'field_collection_item');
}