Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 292913

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

$
0
0

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.


Viewing all articles
Browse latest Browse all 292913

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>