Module Description
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: textfieldExtends 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
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: textfieldExtends 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
Module Link
Project Usage
255
Security Covered
Covered By Security Advisory
Version Available
Production
Module Summary
This module aims to solve the issue of extending existing UI patterns by allowing the reuse of fields and settings from the parent pattern.
Data Name
ui_patterns_extends