Issue #2878835 by toncic, Primsi, Berdir: Add hook function for altering prepareEntities function in eb_widget