explicityly setting form_state['entity_type'] variable in civicrm_entity_form