--- label: 'Defining a custom block type' related: - block.overview - block.configure - block.place - block_content.add - field_ui.add_field - field_ui.manage_form - field_ui.manage_display --- {% set types_url = render_var(url('entity.block_content_type.collection')) %}

{% trans %}Goal{% endtrans %}

{% trans %}Define a custom block type and its fields.{% endtrans %}

{% trans %}Steps{% endtrans %}

  1. {% trans %}In the Manage administrative menu, navigate to Structure > Block layout > Custom block library > Block types.{% endtrans %}
  2. {% trans %}Click Add custom block type.{% endtrans %}
  3. {% trans %}Enter a label for this block type (shown in the administrative interface). Optionally, edit the automatically-generated machine name or the description.{% endtrans %}
  4. {% trans %}Click Save. You will be returned to the Block types page.{% endtrans %}
  5. {% trans %}Click Manage fields in the row of your new block type, and add the desired fields to your block type.{% endtrans %}
  6. {% trans %}Optionally, click Manage form display or Manage display to change the editing form or field display for your block type.{% endtrans %}