Component: Content Block - envris/White-Label-Help-Wiki GitHub Wiki

Brief description

When creating or editing a content page, content editor can add one or more component in the "Components" field. One of them is Content Block component which allow content editor to embed a custom block content.


Detailed description

To add "Content Block" component to a page, choose "Add Content Block" from the "Components" field and then choose the Block from the list of available blocks. User with Site Administrator role will have access to manage the list of the blocks.

The block component has:

  • Title: Used in the back-end only and to generate anchor links
  • Heading: Displays a H2 above the block content - optional.
  • Block: Dropdown list of all the available content blocks.

Technical description

Paragraph machine name: content_block

Field types:

  • Block: field_content_block, Entity reference (Custom block)