Drupal 8 Development Cookbook(Second Edition)
上QQ阅读APP看书,第一时间看更新

Customizing the form display of a node

The latest in Drupal 8 is the availability of form display modes. Form modes allow a site administrator to configure different field configurations for each content entity bundle edit form. In the case of nodes, you have the ability to rearrange and alter the display of fields and properties on the node edit form.

In this recipe, we'll modify the default form for creating the Article content type that comes with the standard installation profile: