We are looking for the best way to export a defined/built layout with inline blocks and then use that to programmatically set both them during a module install.


  • module install
    • create node in content type
    • apply section
    • create and apply block to section in node

Currently we are having to print the array, strip UUIDs.. then attach them to the layout field value of the node we create. Which can lead to issues if not cleaned up correctly.

  • Did you solve this? Can you post an answer? – Jason May 3 at 21:10

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.