Install
Works with Drupal: ^10 || ^11Using Composer to manage Drupal site dependencies
Alternative installation files
Download tar.gz
65.41 KB
MD5: 246325ff05af4d03c215fe33367ba651
SHA-1: 8cede302e843e03704175d0f69451cd961dfcf62
SHA-256: af15dc5734e7416f63cc57ab72ed293b4ebc91f144d518bc4c3980678bfd6bf7
Download zip
90.67 KB
MD5: cdff550e0a207d41ec5cf4c56ac80e7a
SHA-1: c0a78640b58cfb47c3ec24f4e6077e0b6ceed03a
SHA-256: 465b0d24136befcb0a33c78fb6353986e5782315b9def70e8cd97db4356c6087
Release notes
- New: Hero mode now accepts an Image or Media field as the first field (previously Image only).
- Drupal 11: Plugin uses PHP 8 #[ViewsStyle] attribute; transliteration and entity field manager are injected; overlay opacity uses a Drupal behavior (no inline JS); composer requires ^10 || ^11.
- Code quality: Constants consolidated into VvjsConstants; duplicate validation removed; option types and Twig defaults cleaned up; dead code removed (e.g. unused list_attributes, buildTransitionsSection(), _vvjs_build_template_settings()).
- Security/polish: Removed HTML comments from the fields template; dropped unused core/drupal.ajax from libraries.
- Tests: Unit tests for style plugin options and flatten logic; kernel tests for render structure and plugin defaults.
- Docs: README and inline options lifecycle note updated.
- No config or data changes; clear caches after update. Drupal 10 or 11, Views required; Media module needed only if using a Media field for Hero.