uichemy_set_global_section
Share one section across pages — the editor's "Attach to a global". Every page's section of that kind renders the same layout, and because copy and images belong to the layout, they share the same words and pictures too: write them once. Globalness in the editor is per KIND across the whole site, so pages must cover every page that has the kind (or be "all"). Pass variant to put every instance on one layout first; omitted, they must already agree. global: false detaches the kind so instances can differ again.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | Yes | Section kind, e.g. navbar, footer, cta. | |
| pages | No | Default "all". | |
| global | No | Default true. | |
| variant | No | Layout every instance should render. | |
| projectId | Yes |