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 Button

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: Button
button form

Click the Save and continue button

On the Field settings form, 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 Button

Click the Save settings button

Done. Now to add the Media field

Book traversal links for Add the Button

  • Add the Text Field
  • Up
  • Add the Media selector

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