Install
Works with Drupal: ^10 || ^11Using Composer to manage Drupal site dependencies
Alternative installation files
Download tar.gz
54.76 KB
MD5: 9a429be1b0242236e43d68c05fdf8cc2
SHA-1: a94d27e5fb8f367ab15b070e5d6a4826876744de
SHA-256: e0d6da4c7fd1bdb84b718d143e401570b97ae2db9ed1820f2a17ff13b23583c1
Download zip
106.05 KB
MD5: f70b4bdaa0319f0baed0fa2b70a89ef0
SHA-1: b9744ba22d1193821832de331dee2cf591f14ae4
SHA-256: 96509a527d54860104ebdaafb770ce7f8dd58106225cbaeef20f89cdf300144c
Release notes
New features
- Added
\Drupal\jnlp\ConfigurableProcessorInterface, which lets a processor define its available options, their form elements and their defaults in one place. Consumers embed the elements withbuildOptionsForm()and apply saved values withsetOptions()instead of reimplementing the option widgets themselves. Since processors are shared services,setOptions()resets any option not present in the given array to its default, so passing an empty array restores the processor defaults. - The Sudachi processor implements the interface for its split mode, and the Sudachi settings and test forms now build their split-mode widget from the processor itself.
- Added a reusable jnlp.processor_options.sudachi config schema type for consumer modules to reference, plus a
jnlp.processor_options.*fallback schema for options whose defining module is not installed.
Tests
- Data provider methods are now static, for compatibility with PHPUnit 10.