Install
Works with Drupal: ^11.3 || ^12Using Composer to manage Drupal site dependencies
Alternative installation files
Download tar.gz
39.61 KB
MD5: 0af0f50f29791b179babaf5f0d12991f
SHA-1: a3c18144b567f8485cf614125ff04aca6cad411b
SHA-256: d5d2cb798278b9443f559059c4663814925a7079dfa9ea53fff23d0667911d89
Download zip
52.42 KB
MD5: 5efc6b1dc476b72392ef56586c8713ed
SHA-1: b105617466fc3f506dd55d73d3324b2c2492bcd4
SHA-256: bb017bd9d050c6d96cfaaf7749483dd265252d73be868a8f9d990193ec2556ab
Release notes
Upgraded accordions open their first panel again; v1 views are converted to the v2 option shape.
Requirements
- Drupal
^11.3 || ^12, PHP 8.3+, Views, and VVJ Core^2.0.
Fixes
- Upgraded accordions silently stopped opening their first panel. The late-1.x option
first_togglewas not read by 2.x. Update10002turns it intoexpand_default: first(an existingexpand_defaultwins) and removes the old key. - Update
10002also converts views saved with the v1 option shape (numbers stored as strings, booleans as integers) to the v2 types, so they pass the v2 schema. - The accordion title is normalised to a string before it reaches
t().
After updating
Update VVJ Core first, since update 10002 uses the converter added to VVJ Core after 2.0.0. Then run drush updb and drush cr. The update is safe to run again and does nothing for views that already use the v2 option shape.