public function EntityShareMediasAbstract::__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: Entity to export/import.
array $field_info: Informations o the field.
File
- modules/
entity_share_medias/ includes/ entity_share_medias.inc, line 105 - Class for handling Medias.
Class
- EntityShareMediasAbstract
- Class EntityShareMediasAbstract.
Code
public function __construct(array &$field_data, $field_name, $field_type, $entity, array $field_info) {
$this->fieldData =& $field_data;
$this->fieldName = $field_name;
$this->fieldType = $field_type;
$this->entity = $entity;
$this->fieldInfo = $field_info;
}