Install

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

Using Composer to manage Drupal site dependencies

Alternative installation files

Download tar.gz 71.21 KB
MD5: 737cddfb97e18613d05995875297d455
SHA-1: 433d367294faa83bb1032aabb09b79f7d7811c05
SHA-256: 69bef4fdcd0d0ed1ddd7aff6ebf82cbce8bcbcc684b5ce41693ceda03d962055
Download zip 129.62 KB
MD5: 0f7f09136b002108d9e7c3046f7f3c1b
SHA-1: 8bdd51adb0c5bc70fc4b964c21c8d530f2bebf91
SHA-256: 7f560f2b9f60859192e411eb4de208b112eb1c774cad940ed6a3e32b6c3cadcc

Release notes

Config Pages 8.x-2.22

Fix: Restore backward compatibility with Drupal < 11.1 (#3577600)

Version 2.20 migrated entity type and plugin definitions from annotations to PHP attributes. However, attribute-based discovery was not fuly supported in Drupal 10.X. On Drupal < 11.2, causing a fatal error on cache rebuild:

The Drupal\config_pages\Entity\ConfigPagesType class does not correspond to an entity type.

This release restores annotations alongside attributes in all affected files. On Drupal 10.2+, the attribute takes priority; on older versions, annotation discovery finds the fallback definition.

Affected files:

  • ConfigPages (ContentEntityType)
  • ConfigPagesType (ConfigEntityType)
  • ConfigPagesBlock (Block)
  • ConfigPagesValueAccess (Condition)
  • Language (ConfigPagesContext)
  • ConfigPagesReferenceFieldFormatter (FieldFormatter)
  • CurrentContext (ViewsArgumentDefault)

Update instructions: Update the module and run drush cr. No database updates required.

Created by: shumer
Created on: 6 Mar 2026 at 19:43 UTC
Last updated: 6 Mar 2026 at 19:44 UTC
Bug fixes

Other releases