Enables retrieval of appropriate menu information to pass into the template.