You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/pattern_builder_importer.md
+49-17Lines changed: 49 additions & 17 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -32,8 +32,7 @@ It converts an library of JSON Schemas into Drupal paragraph bundles, and the JS
32
32
- Template directories
33
33
34
34
1. Use Drush to run the pattern builder import command
35
-
- If there are new patterns, first rsync webrh
36
-
- SSL into sandbox
35
+
- If there are new patterns, then sync changes to the patternbuilder schema and template directories.
37
36
- Run `drush pbi`
38
37
39
38
1. View the imported patterns now stored as paragraph bundles
@@ -45,10 +44,7 @@ It converts an library of JSON Schemas into Drupal paragraph bundles, and the JS
45
44
46
45
1. Manage Display: Set the display format on the paragraph field to "Patternbuilder rendered items"
47
46
1. Other Notes:
48
-
- Don’t forget to load the webrh.css via a pre-process function or the style module
49
-
- Optional: Modify the content type node--[type].tpl.php as needed to remove other regions etc
50
-
- To use the test pattern, enabled “Red Hat webrh test” on the modules page: /admin/modules?filter=webrh_test&enabled=1&disabled=1&required=1&unavailable=1 -- it will take a while to import so you have to wait for the page to be done refreshing
51
-
47
+
- Optional: Modify the content type node--[type].tpl.php as needed to remove other regions etc.
52
48
53
49
1. Drush Commands
54
50
1. Imports patterns from defined library
@@ -294,23 +290,59 @@ This is an edge case. If encountered, please open an issue on the patternbuilder
This error occurs when the field type determine from the property's schema is different than the existing field's type in Drupal.
296
+
297
+
The patternbuilder.install provides a helper function to convert text fields. This should be added to an update function before the fields are imported.
0 commit comments