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
+4-1Lines changed: 4 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -297,6 +297,9 @@ This error occurs when the field type determine from the property's schema is di
297
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.
298
298
299
299
```php
300
+
/**
301
+
* Convert awesome_pattern text property to a long text field.
302
+
*/
300
303
function mymodule_update_7123() {
301
304
$pattern_name = 'awesome_pattern';
302
305
$property_name = 'text';
@@ -331,7 +334,7 @@ function mymodule_update_7123() {
331
334
}
332
335
```
333
336
334
-
Allowed conversions:
337
+
Allowed Drupal field type conversions via patternbuilder_convert_text_field():
0 commit comments