Issue #2717883 by neerajsingh, Pashupathi Nath G: Replace deprecated usage of entity_create('node') with a direct call to Node::create()