Allow 'region' key to be a string for placeBlockInDefaultTheme and placeBlockInAdminTheme config actions

Created on 21 July 2024, 5 months ago
Updated 20 September 2024, 3 months ago

Problem/Motivation

Currently the logic that checks the passed config values only evaluates and will fall back to the default_region if there is an array set in the region key. If a recipe author wants every theme to use a common region (for example, to use the "content" region everywhere) they still have to explicitly set at least one value in the region key.

Proposed resolution

Allow region to be a string, and if it is, use it as-is.

✨ Feature request
Status

Fixed

Version

11.0 πŸ”₯

Component
recipe systemΒ  β†’

Last updated 11 days ago

Created by

πŸ‡¨πŸ‡¦Canada mandclu

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024