I'm trying to implement creation of child nodes programmatically in hook_submit when creating parentcreate child nodes according to thea parent nodenode's field value. Here is the idea. Parent node: field_stages (unlimited count). I want to create new "stage" nodes when I've added new parent
When a node and saveis created, a reference to these child nodes is saved in the parent node, although the references should not be editable and visible in add/editthe edit form and when the node viewis viewed.
How it can be implemented in drupalI implement this?