Issue #2641592 by Mac_Weber: Replace deprecated usage of entity_create('menu') with a direct call to Menu::create()