Issue #2641616 by Mac_Weber: Replace deprecated usage of entity_create('shortcut') with a direct call to Shortcut::create()