Issue #2068349 by pcambra, swastik1608: Convert menu link SQL queries to the Entity Query API.
Issue #2068349 by pcambra, swastik1608: Convert menu link SQL queries to the Entity Query API.