Install
Works with Drupal: ^10 || ^11 || ^12Using Composer to manage Drupal site dependencies
Alternative installation files
Download tar.gz
35.36 KB
MD5: 84b80df456d99247be53d06e3f282ffa
SHA-1: 079cc6e778f113f63084a4848ddc54b34012df24
SHA-256: 47435306f41175a2189adaccfbdf8dede13e2e01de08fced457baf01774cadb3
Download zip
53.68 KB
MD5: 7740e8303761f826f40c4ae616161ab3
SHA-1: 26a75d28bb931bd24840e66f75117f30e58a55be
SHA-256: ff5d33c0b1eed9c512aece42061cde0df605563c29085fe3bebcd83c66fbc0d9
Release notes
Fixes the Drupal 10 fatal error "entity type does not exist" introduced in 1.0.7.
Who must update
- Every Drupal 10 site running Solo Utilities 1.0.7. On Drupal 10 the
color_schemes_ruleandnode_widthentity types did not exist, and pages using them threwPluginNotFoundException. - On Drupal 10, also update Solo to 1.0.36 or later: Solo 1.0.35 fails on every page there (#3628961: https://www.drupal.org/project/solo/issues/3628961).
Fixes
- 1.0.7 declared
ColorSchemesRuleandNodeWidthwith PHP attributes only; Drupal 10 reads entity-type annotations only. The@ConfigEntityType/@ContentEntityTypeannotations are restored beside the attributes. - New update
solo_utilities_update_8003()installs the two entity types on sites that installed 1.0.7 on Drupal 10, where they were never created. On other sites it does nothing. - Added
PluginAnnotationParityTestandEntityTypeDefinitionTest, which fail if annotation and attribute disagree or either entity type is missing. - Tests:
@groupadded beside#[Group]for Drupal 10's test runner; CI gains a Drupal 10 (previous major) job.
After updating
Run drush updb (applies update 8003), then drush cr.