The main function of a teacher is to facilitate learning: leading discussions, asking open-ended questions, guiding process and task, and enabling active participation of learners and engagement with ideas. So publications do not feature yet.
But a teacher is also a lifelong learner. This means s/he needs to research and research will lead to publication. In higher education, teaching and research go together.
I've had brilliant teachers in my life, extraordinary in relating their fields of study to students. Whereas, I've also had brilliant researchers who were extraordinarily terrible in teaching students...Clearly the former had less publications than the latter, but I place greater trust in their teaching capacity.
I think the ability to find, understand, and analyze research is essential (and lacking in my opinion) to be a good teacher. It is also important for teachers to understand how to collect and analyze data within their classroom to inform their pedagogy.
Publications, however, should not be an essential criterion.