Issue #2641528 by heykarthikwithu, Mac_Weber, naveenvalecha: Replace deprecated usage of entity_create('editor') with a direct call to Editor::create()