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

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.

主站蜘蛛池模板: 弥勒县| 启东市| 保德县| 开原市| 深州市| 临沂市| 古交市| 左贡县| 汉川市| 绥中县| 聊城市| 怀仁县| 琼结县| 信丰县| 张家港市| 特克斯县| 保康县| 湖北省| 健康| 桦南县| 莲花县| 沙洋县| 绥棱县| 于都县| 东平县| 沁阳市| 黑水县| 巫山县| 札达县| 射阳县| 沈丘县| 巴彦淖尔市| 托克逊县| 古浪县| 遂宁市| 娄烦县| 黄平县| 辽源市| 平原县| 威远县| 都江堰市|