Issue #2641596 by Mac_Weber, heykarthikwithu: Replace deprecated usage of entity_create('node') with a direct call to Node::create()