Drupal 8 页面编辑

Drupal 8 page editing

我的页面将包含大量混合内容。这些页面展示了建筑师的作品,以供参考。

例如第 1 页将有

- 1 video (vimeo)
- a 2x2 grid of images (images are 50% page width)
- a 100% image.

第 2 页会有

- a 100% width image
- a 100% image 
- a 3x3 grid of images (images are 33% page width)

这样继续下去,没有真正的模式,但包含相似的元素。它必须足够灵活以包含所有元素。

在 drupal 中推荐的实现方法是什么?

这是新核心 Layout Builder 模块的任务。

It provides the ability to customize the layout of your content.

Dries 在 2017 年维也纳 DrupalCon 上展示了一个演示:https://www.youtube.com/watch?v=Hx4EEzI7aNE

这里还有一篇精彩的文章:https://evolvingweb.ca/blog/using-layout-builder-module-drupal-8