Skip to main content
2 of 4
added 355 characters in body

How to copy blocks placement and settings between themes? for D8

Following is available for D7 but not for D8:

Tried following piece of code:

DELETE FROM block WHERE theme = 'NEW-THEME'

INSERT INTO block (module, delta, theme, status, weight, region, custom, visibility, pages, title, cache, i18n_mode) (SELECT module, delta, 'NEW-THEME', status, weight, region, custom, visibility, pages, title, cache, i18n_mode FROM block WHERE theme = 'OLD-THEME')

How to copy blocks placement and settings between themes?