Reputation: 183
Consider this scenario.
I have 3 nodes A,B,C where A is father of B , B is father of C and I have created these two relations using relations module. Now it implies that A is grandfather of C. Can we define some rules to handle such cases automatically in drupal, rather than I explicitly defining that A is grandfather of C using relations module.
Upvotes: 1
Views: 128
Reputation: 563
Use Rules module. Create a rule which should fire when relation for grandchild created.
Upvotes: 1
Reputation: 7791
You can use the module Bundle Inherit
The main target of the Bundle Inherit module is to allow users to inherit bundles of different entity types from any other bundles of the same entity type. Inheritance could be performed while creating new bundle of some entity type (for example new content type). There are two types (modes) of inherit available:
Soft: All field instances from existing (parent) bundle will be cloned and attached to the newly created bundle. As for the soft mode it is all.
Strict: All field instances from existing (parent) bundle will be cloned and attached to the newly created bundle. After that you will not be able to directly edit inherited field instances in the children bundles and they will be always kept synchronized.
Upvotes: 0