Introduction (not necessarily needed to be able to answer the question)
I use Domain Access module to be able to manage different sites from one Drupal installation and a single shared database. I enabled Domain Content submodule that provides a content administration page for each subdomain.
Instead of having all contents of all domains displayed at /admin/content
, this allows to display all contents of a given domain at /admin/content/domain-content/mydomain
.
What I'd like to do
I'd like to prefill a form element in Create Article page according to a given domain.
So I plan to add a Add content button at /admin/content/domain-content/mydomain
, and pass the parameter mydomain
from here until, for example, Create Article page.
Then I'll be able to prefill (tick) the right domain checkbox in the Create Article page according the passed argument.
My question
How to pass parameters between the given admin pages to be able to prefill a form in Create Article page?