3

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.

eg.

  • 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.

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.