官术网_书友最值得收藏!

  • Drupal 8 Blueprints
  • Alex Burrows
  • 159字
  • 2021-07-03 00:03:27

Using blocks a brief overview

One of the cool things about Drupal is that we can control blocks of content from a UI. In our theme layout, we have the regions; these are what tells Drupal Hey I'm a place for content, so let me show in the UI. Regions allow us to place blocks of content inside it. We have various ways to create blocks.

In the previous versions of Drupal, we could only add block name, title, and content by default, this then had the ability to set certain settings on how it would display.

However, in Drupal 8, blocks are an entity type and with this come bundles. This means that we can now create custom block types and use the Field UI to add custom fields, and you guessed it, with that, we can organize our layout using Manage display; in Drupal 7, we had to use Block Entities Are Nodes (BEAN)--https://drupal.org/project/bean.

主站蜘蛛池模板: 岑溪市| 临泉县| 麻栗坡县| 阳山县| 萨嘎县| 金塔县| 化隆| 香港| 武鸣县| 乐业县| 琼海市| 沾化县| 图片| 札达县| 新乡市| 西安市| 宜阳县| 扶余县| 宁河县| 易门县| 海阳市| 竹北市| 远安县| 襄汾县| 衡阳市| 恭城| 靖安县| 额济纳旗| 陇西县| 四子王旗| 肥西县| 会同县| 区。| 永安市| 岑溪市| 呈贡县| 体育| 五常市| 东乌| 锡林郭勒盟| 鄂州市|