Skip to content

Commit 61c3f3f

Browse files
committed
using pb updates
1 parent 3b228ce commit 61c3f3f

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

docs/using_pattern_builder.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,15 @@ title: Using Pattern Builder
55
## Various Scenarios of using pattern builder module
66

77
### Add a Pattern Field to a Content Type
8-
1. Create a new content type or use an existing one.
9-
1. Add a paragraphs field with patterns enabled.
10-
1. Widget: "Embedded Patterns" or "Embedded Patterns with Previewer" (requires patternbuilder_previewer module).
11-
1. Limit the pattern selection by type ("Pattern", "Components"). These need to be defined in hook_patternbuilder_pattern_types().
12-
1. Any non-pattern paragraph needs to be explicitly selected in the list of "Allowed paragraph bundles"
13-
1. Display Formatter: "Patternbuilder rendered items"
14-
1. Select display mode used to render the embed paragraphs. Defaults to "Full". For Patterns, the formatted values of the paragraph field is sent to the TWIG templates for display.
15-
1. Create content with Patterns!
8+
9+
1. Create a new content type or use an existing one.
10+
1. Add a paragraphs field with patterns enabled.
11+
1. Widget: "Embedded Patterns" or "Embedded Patterns with Previewer" (requires patternbuilder_previewer module).
12+
1. Limit the pattern selection by type ("Pattern", "Components"). These need to be defined in hook_patternbuilder_pattern_types().
13+
1. Any non-pattern paragraph needs to be explicitly selected in the list of "Allowed paragraph bundles"
14+
1. Display Formatter: "Patternbuilder rendered items"
15+
1. Select display mode used to render the embed paragraphs. Defaults to "Full". For Patterns, the formatted values of the paragraph field is sent to the TWIG templates for display.
16+
1. Create content with Patterns!
1617

1718
### Choose a method
1819

@@ -40,9 +41,8 @@ title: Using Pattern Builder
4041
1. (TODO: Pending development) Associate the paragraph bundle with a JSON Schema.
4142
1. Add a field to the paragraph bundle.
4243
1. Configure the section "Pattern Builder".
43-
1. Required: Set the "Property name"
44+
1. Required: Set the "Property name" of the JSON Schema property that maps to this field.
4445

45-
**
4646

4747
### Other things to note
4848

0 commit comments

Comments
 (0)