public function EntityShareFieldCollectionAbstract::__construct in Entity Share 7
Constructor. Initialize properties.
Parameters
array $field_data: Datas of the field.
string $field_name: Name of the field.
string $field_type: Type of the field.
object $entity: Current entity to import or export.
array $field_info: Info of the field.
string $lang: Language of the field.
int $delta: Delta of the field.
EntityShareEntityAbstract $entity_share_entity: The EntityShareEntityAbstract object.
File
- modules/
entity_share_field_collection/ includes/ entity_share_field_collection.abstract.inc, line 114 - Class for handling Field Collection Import/Export Abstract.
Class
- EntityShareFieldCollectionAbstract
- Abstract class for Field Collection import/export management.
Code
public function __construct(array &$field_data, $field_name, $field_type, $entity, array $field_info, $lang, $delta, EntityShareEntityAbstract $entity_share_entity) {
$this->fieldData =& $field_data;
$this->fieldName = $field_name;
$this->fieldType = $field_type;
$this->entity = $entity;
$this->fieldInfo = $field_info;
$this->fieldLang = $lang;
$this->fieldDelta = $delta;
$this->entityShareEntity = $entity_share_entity;
}