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

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.

主站蜘蛛池模板: 斗六市| 刚察县| 彭阳县| 沈阳市| 开远市| 潮安县| 兴和县| 南郑县| 荣成市| 乌什县| 双牌县| 白水县| 全南县| 佛坪县| 长宁区| 大同县| 中方县| 福海县| 分宜县| 沈阳市| 青岛市| 武威市| 阳曲县| 佛学| 景洪市| 平凉市| 元氏县| 盐源县| 裕民县| 搜索| 江阴市| 无为县| 克东县| 宁都县| 松溪县| 喀喇沁旗| 威宁| 宜兰市| 环江| 安达市| 兴安县|