Post

Create and apply a custom display mode in drupal

Drupal offers some ways to change the appearance of your content forms in the admin and also the appearance of your content on the frontend view. This article is focused on archiving different Display modes for the frontend view by showing how to create and apply a display mode

Create a display mode for the content type.

Create a custom dipslay mode for the content type

1
/admin/structure/display-modes/view

Enable the display mode for the content type.

Go to manage display in the custom display settings enable your custom display mode

Configure the fields

Enable or disable, all your fields so that your display mode reflects the content you want returned.

Configure your paragraph to use the display mode

  • On your custom paragraph Type.
  • in the mangage display,
  • The format needs to be set to rendered entity
  • Assign your new custom display mode. which is hidden under the cog wheel
This post is licensed under CC BY 4.0 by the author.