I would like the change the menu setting on the header block when a user enables the Tatsu theme.
Is there any way to do that?
Here is the code I would use in hook_install for a module, is there a version of this for a theme:
$layouts = layout_get_all_configs('layout');
foreach ($layouts as $layout_name => $layout) {
foreach ($layout['content'] as $block_id => $block) {
if ($block['plugin'] === 'system:header') {
config_set('layout.layout.' . $layout_name, 'content.' . $block_id . '.data.settings.block_settings.menu', 'my-menu-id');
}
}
}
Recent comments
I figured the space part of it out, but caption length is still limited to about 125 characters. - #CboxContent: margin-bottom expands it just enough and doesn't disrupt the counter or arrows...
Longer Captions with Colorbox?
Hello, Indeed, there is no more field than "login" and "mail address" (and password) in the "Create new user". It seems indeed to be a bug, unsure if someone can reproduce on a fresh...
Issue - Cannot create new user - "You cannot enter a title without a link url."
Does backdrop have a super admin that's different than users assigned the administrator role? Sort of. Backdrop has an administer role that can be granted specific...
content_access_node_access_rebuild doesn't exist
@GOA_TrishaLynn - Thanks for your comments. Are you having any trouble finding the documentation you are looking for?
What are (should be) the prerequisite skills to install and configure a site with Backdrop CMS?
No, both those .json files are extant in the files/config_XXXXX/active folder. Views UI wasn't enabled. I did so, and now I can manage content and people. Thanks!
content_access_node_access_rebuild doesn't exist