Legislation would prohibit use of e-cigarettes in restaurant