Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Install
Works with Drupal: ^8 || ^9Using Composer to manage Drupal site dependencies
Alternative installation files
Download patternkit-9.1.0-alpha4.tar.gztar.gz
913.48 KB
MD5: 12b410e01d64ed46bf7b393e64eeb333
SHA-1: 27ab9f1b4f1a7b15578e698cc206ada612d79fed
SHA-256: 4a1030e10d1b78596710c97a6f883e05c5f6d3edba0b08adb9609b2240e7500e
Download patternkit-9.1.0-alpha4.zipzip
988 KB
MD5: f0bc87b4338e04f6d9a39e42d32d355b
SHA-1: 3b83156ad6a0852768e7afba4e9e587112360bb1
SHA-256: 4e49b960a89b27fa53fc8f626a9a6eaa13f1573b931654bc315594c9485a77fc
Release notes
- Casts rendered twig to string context. Fixes an edge case where twig-parsed Patternkit block configs won't be usable for template tests without a `|render`.
- Issue #3211024: [9.1.x] Fatal Error on patternkit block save. Resolves an edge case with block saves on latest Drupal 9 core.
- Adds CKEditor as default for HTML theme. If you select the 'HTML' theme for Patternkit, you can now use Drupal's CKEditor install.
- Adds baseline wysiwyg installs. Patternkit now ships with an experimental build of Quill, and examples for other popular editors.
- Reinstates editor on submit failure, so you don't lose your place if the block won't save.
- Fixes an issue with twig parsing in block fields.
- Resolves issues with twig asset loading and cache.
- Resolves issues with loading 'json' library types from libraries.yml files. Useful if you just need to add a 'config.json' that has your reusables like links etc.
- Adds additional error feedback and logging.
- Adds edit forms for reusable Patternkit blocks. Previously, you could only edit inside Layout Builder.
- Prevent unexpected error caused during cache clear. This was a strange edge case.
- Opt-out of route normalization. This prevents issues with URLs on translated sites.
- Adds baseline tests to Patternkit.
- Adds descriptions to pattern schema form.
- Adds twig support to pattern schema form. You can now use twig inline (for example, with filters like |upper) to alter tokens by adding curly braces.
- Removes dev logging and fixes URL generation.
- Fixes schema dereference extension trim.
- Resolves issues with schema dereferences.
- Adds minified version of Quill Editor.
- Adds workaround for Drupal Core issue #2759967.
- Cleans up Quill editor implementation.
- Fixes null context breaking token form. Another strange edge-case.
- Add "drupal-module" type definition to composer.json.
- Wraps Patternkit from-dev upgrade command with check for layout_builder.
- Adds Patternkit tour support and additional help.
- Fixed patternkit block id updates in devUpdate.
- Adds twig debug info for twig libraries.
- Updates secondary module info YAML for D9.
- Issue #3153733 by ryan.gibson, cyb.tachyon: Drupal 9 Release.
- Replaces deprecated code and updates constructor calls.