Install
Works with Drupal: ^10 || ^11 || ^12Using Composer to manage Drupal site dependencies
Alternative installation files
Download tar.gz
31.24 KB
MD5: 4d744324ae5b391ccaa4cf00a29165aa
SHA-1: e045088f48226ca16c01a2b708613cbe59c30adb
SHA-256: fd3353c89f60b05a2f2be642b7aa7b688ab3527cab29a90acf25c8f90015d187
Download zip
47.53 KB
MD5: 358697a1256e1ff3689ebc989d464fae
SHA-1: 325cdb3ba3eb43ccea232c1bacc64171539c9281
SHA-256: 8379095d3cd912e4608047ae710a2218d1ab52d689bc28ad11747b47385ca11b
Release notes
Drupal 12 support, block title settings that pass config validation, and two crash fixes.
Requirements
- Drupal
^10 || ^11 || ^12, PHP 8.1+, core Node. Built for the Solo theme.
Fixes
- Block title settings now pass config validation.
solo_block_title_visibilityandsolo_block_title_tagwere written into each block's plugin settings, which no block plugin schema declares, so every block with them failed validation. They are now stored asthird_party_settings.solo_utilities, declared in this module's schema with value constraints. Update8002moves existing values; until it has run, reads fall back to the old location. The Solo theme is unchanged. - An unknown theme name no longer takes every page down with an HTTP 500. The theme-hierarchy helper passed the configured default theme straight to the theme handler, which throws for a theme it does not know, and the helper runs on every page. A default theme that had been uninstalled or removed from disk therefore crashed the site from inside this module; it now degrades instead. A base theme named in an
.info.ymlthat is not installed is handled the same way. - Fatal error on Drupal 12 on the colour-schemes rules page. Core's
EntityListBuilder::getOperations()gained a second parameter, so the list builder's old signature fataled as soon as the class loaded. Note the page answered HTTP 200 with the PHP error in the body. The signature now matches core, and a broken unusedColorSchemesController::getOperations()copy was removed.
Drupal 12
^12is now declared insolo_utilities.info.ymlandcomposer.json.- Hooks moved into a
src/Hookclass behind#[LegacyHook]. - The colour-schemes rule and node-width entities use the
#[ContentEntityType]/#[ConfigEntityType]attributes instead of annotations (annotation discovery is removed in Drupal 13), and declarearrayreturn types ongetPluginCollections()andbaseFieldDefinitions(). The entity definitions and the stored config names are unchanged, so no migration is needed.ColorSchemesController::create()now returnsstatic.
After updating
Run drush updb then drush cr.