public function FieldCollectionItemEntity::fieldInfo in Field collection 7
Provides info about the field on the host entity, which embeds this field collection item.
4 calls to FieldCollectionItemEntity::fieldInfo()
- FieldCollectionItemEntity::defaultLabel in ./
field_collection.entity.inc - Specifies the default label, which is picked up by label() by default.
- FieldCollectionItemEntity::fetchHostDetails in ./
field_collection.entity.inc - Collects info about the field collection's host.
- FieldCollectionItemEntity::path in ./
field_collection.entity.inc - Returns the path used to view the entity.
- FieldCollectionItemEntity::__construct in ./
field_collection.entity.inc - Constructs the entity object.
File
- ./
field_collection.entity.inc, line 110
Class
- FieldCollectionItemEntity
- Class for field_collection_item entities.
Code
public function fieldInfo() {
return field_info_field($this->field_name);
}