Install

Works with Drupal: ^8.8 || ^9 || ^10 || ^11

Using Composer to manage Drupal site dependencies

Alternative installation files

Download tar.gz 29.38 KB
MD5: 090cdfaccc2a4aa198c42af5032802cc
SHA-1: f36028c67ec8ace248b1de41b640c92d38c81328
SHA-256: 4c13d61b7622e63ae7e0545885f0a17793d9cfef28b96465cdb796dfde71237f
Download zip 55.22 KB
MD5: db62775081f1cdd18117941d2c333bbd
SHA-1: 5b068d0b4b126abb934b76c3661384859e722993
SHA-256: 7b7c85577cb57dec20b566c14b3532226c342a8ac4a8175c977fdaab5b80b9e8

Release notes

The second beta release of Custom Formatters 4.1.0 for Drupal 8+, including critical bug fixes, Drupal 10 & 11 compatibility, and several new features.

Bug fixes

  • #3404747: Fixed module not working on Drupal 10 with PHP 8.2 (Critical)
  • #3188668: Fixed formatter entity failing to load properties from storage (Critical)
  • #3572914: Fixed broken config export — formatter properties missing on import
  • #3572918: Added hardening against corrupted formatter config to prevent fatals
  • #3478998: Fixed call to render() on string instead of render array
  • #3387578: Fixed MissingMandatoryParametersException when Devel module is installed
  • #3025496: Fixed contextual link placeholders leaking into CSV/JSON exports

New features

  • #2885050: Added {{ entity }} variable to Twig formatter context for accessing parent entity properties
  • Added "Save & Edit" button to the formatter edit form — stays on the edit page after saving instead of redirecting to the collection list
  • #3335203: Added missing hook_help() implementation
  • Added rewrite of the PHP example formatter for D8+ and a new Twig example formatter

Compatibility

  • Full Drupal 10 and Drupal 11 compatibility
  • PHP 8.2+ required
  • Resolved all PHPStan level 7 static analysis errors
  • Replaced static \Drupal calls with dependency injection throughout

Upgrade notes

  • Route parameter {custom_formatter} has been changed to {formatter} to match the entity type ID. Any custom code or configuration referencing the old parameter name will need updating.
  • If you were working around the contextual links export bug by disabling contextual links entirely, you can now safely re-enable them.
Created by: deciphered
Created on: 24 May 2026 at 01:34 UTC
Last updated: 24 May 2026 at 01:34 UTC
Bug fixes
New features
Insecure
Unsupported

Other releases