This module lets you extend existing ui patterns, allowing you to reuse existing fields and settings from the parent.

The module is using the extends: property:

Example:

base_pattern:
  fields:
    field_a:
       label: Field A
       type: text
    field_b:
       label: Field B
       type: text
  settings:
    setting_a:
       label: Setting A
       type: textfield
    setting_b:
       label: Setting B
       type: textfield

Extends the complete pattern:

sub_pattern:
  extends:
     - base_pattern

Extends the settings only:

sub_pattern:
  extends:
     - base_pattern.settings

Extends one setting and one field:

sub_pattern:
  extends:
     - base_pattern.settings.settings_a
     - base_pattern.fields.field_a
Supporting organizations: 

Project information

Releases