setComponent(s) examples are incorrect in docs branch

Created on 21 October 2023, about 1 year ago
Updated 9 March 2024, 10 months ago

In this file:
https://git.drupalcode.org/project/distributions_recipes/-/blob/1.0.x/do...

Need to be updated to this format:

Singular:

    core.entity_form_display.node.article.default:
      setComponent:
        name: field_tags
        options:
          type: entity_reference_autocomplete_tags
          weight: 3
          region: content
          third_party_settings: {  }

Plural:

    # Add fields to the user form.
    core.entity_form_display.user.user.default:
      setComponents:
        -
          name: field_last_password_reset
          options:
            type: datetime_default
            weight: 5
            region: content
            settings: {  }
            third_party_settings: {  }
        -
          name: field_password_expiration
          options:
            type: boolean_checkbox
            weight: 12
            region: content
            settings:
              display_label: true
            third_party_settings: {  }
πŸ› Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States thejimbirch Cape Cod, Massachusetts

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024