$entityicon=$entitytoicon[$entity]?$entitytoicon[$entity]:$entity;// $entityicon must string name of picto of the field like 'project', 'company', 'contact', 'modulename', ...
$entitylang=$entitytolang[$entity]?$entitytolang[$entity]:$objimport->array_import_label[0];// $entitylang must be a translation key to describe object the field is related to, like 'Company', 'Contact', 'MyModyle', ...