Relation autoconnect

Categories

Component ID

1256164

Component name

Relation autoconnect

Component type

module

Maintenance status

Development status

Component security advisory coverage

not-covered

Component created

Component changed

Component body

Module allows to setup invisible widget to Relation Dummy Field. This widget loads information (entity type and ID) about another entity from arguments in the path and create relation between determined and newly created entity.

For example, you can use path "node/add/story/node/22" to connect new story content with node number 22.

How to use it?

  • Create relation type which will connect your entities
  • In your content type or any other entity bundle create field Relation with Relation autoconnect widget
  • Setup field settings (relation type, require, path arguments, ...)
  • Make links to new content form with arguments