I am experimenting with recipes. In my recipe, I create a view with a block and was hoping to add that block to a layout during the install process.
Here is the solution I found.
$layout = layout_load('<machine-name-layout>'); $layout->addBlock('<module-that-created-block>', '<machine-name-of-block>', '<region-to-insert-block>'); $layout->save();
Recent comments
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
Thanks, that's really helpful. I never used Views in Drupal, so it was disabled when I started the latest migration cycle. I'll try your suggestion. The question about the super admin was a...
content_access_node_access_rebuild doesn't exist
OK, my ability to help here is pretty limited as the details are sparse, and your questions/problems keep shifting. Content and User lists are both Views that get installed automatically...
content_access_node_access_rebuild doesn't exist