分离的 Drupal 和布局

Decoupled Drupal and layouts

当我尝试使用解耦的 Drupal 时,我想知道像 Panels、Display Suite 或布局构建器这样的模块如何适应这个过程。

我过去经常使用面板,JSON api 似乎不导出渲染信息,只导出数据。

那么假设在分离的 Drupal 场景中,Drupal 纯粹用于数据,并且所有布局都需要在前端应用程序中设置,这样的假设是否正确?

是否有任何解决方案或技术允许客户四处移动块或设置新布局,并与解耦的 Drupal 流程集成?

谢谢,

Is it correct to assume then that in a decoupled Drupal scenario, Drupal is used purely for data, and that all layouts need to be setup in the frontend app?

是的。

Are there any solutions, or technique out there to allow a customer to move blocks around, or set up new layouts, that integrate with a decoupled Drupal process?

您可以创建带有选项的字段。这些将作为数据导出。然后根据这些,您可以决定构建前端的任何内容。