Repository navigation
v0.17.0
What's Changed
Added
- Drupal paragraphs:
fields-generate --target=drupal --drupal-config=<dir>
(#81). Generates paragraph types, field storage, field instances, form
and view displays and, for a new type,language.content_settingsfrom the
definitions, and merges them into adrush config:exportdirectory. It
prints one line per config entity:REUSE,CREATE,UPDATE(an owned
key changed; only that key is rewritten) orREFUSE(a storage type,
target type or cardinality change, or a dropped select option, needs a
data migration). AREFUSEor a failed component writes nothing and exits- It never deletes a file, a field or a display entry. New files have no
uuid; existing files keep theirs, and_core, widget and formatter
settings, weights, groups and contrib third-party settings. An instance
narrows a shared unlimited storage throughfield_config_cardinality.
--dry-runprints the plan only;--names-out=<file>lists the created
and changed config names. See ADR 0002.
- It never deletes a file, a field or a display entry. New files have no
drupal:generator settings indefinition-kit.yaml:langcode,
text_format,media_bundles,host_fields,translation,
view_display(content|hidden),field_config_cardinalityand
baseline(a project file deep-merged over the shipped
schemas/drupal-defaults-baseline.yaml).schemas/drupal-type-map.yaml: the kit type to Drupal storage table
moves out of PHP, with what the generator needs per storage type (module,
settings, default widget and formatter). The accepted types are unchanged.
Pull Requests
- #84 — feat(drupal): generate paragraph config by merge (fields-generate --target=drupal)
Full Changelog: v0.16.0...v0.17.0