Exercise (Block System)


1. Create Call-to-action block type

  • Body (Text (formatted, long, with summary))
  • Image (Media)
  • Read more (Link)
    Allow link text: Required

2. Install Inline Entity Form

composer require drupal/inline_entity_form

Video: Using Inline Entity Form Module

3. Configure Call-to-action widgets

  • Body (Text area with a summary)
  • Image (Inline entity form – Complex)
  • Read more (Link)

4. Configure Call-to-action formatters

  • Image (Thumbnail, Label: Hidden)
    Image style: Large (480×480)
  • Body (Default, Label: Hidden)
  • Read more (Link, Label: Hidden)

5. Create Call-to-action block in Sidebar first region

Scroll to Top