Skip to main content
Home
Anthony Media

Main navigation

  • Home
  • Build a Block

Breadcrumb

  1. Home
  2. Build a Basic Custom Block Component to Use in Layout Builder
  3. Build a "Text with Media" Component
  4. Create the Custom Block Type

Add the Heading

 

Select Manage fields from the drop-down on the right.

Delete the default Body field. Select Delete from the drop-down on the right and follow the instructions.

Click the Add field button.

Select Paragraph (under Reference revisions)

  • Label: Heading

Click the Save and continue button

Change the Allowed number of values to Limited / 1

Click Save

You will be on the Edit screen.

Add any Help text you would like to display.

Leave the Reference method at Default

Under Paragraph types, check Heading

Click the Save settings button

Done. Now to add the Text field

Book traversal links for Add the Heading

  • Create the Custom Block Type
  • Up
  • Add the Text Field

Book navigation

  • A Common Component Pattern
  • Create a Landing page Content Type
  • Set Up Your Toolkit
  • Build a "Text with Media" Component
    • Create the Heading (h2-h6) component
    • Create a Button
    • Create the Custom Block Type
      • Add the Heading
      • Add the Text Field
      • Add the Button
      • Add the Media selector
  • Theming
Powered by Drupal