Trapped Bose–Einstein condensates in the presence of a current nonlinearity