- Issue created by @trackleft2
- Merge request !137Issue #3539008 Fix Drupal 11 deprecation: Replace @ConfigEntityType annotation with attribute β (Open) created by trackleft2
- πΊπΈUnited States trackleft2 Tucson, AZ πΊπΈ
This cannot be merged unless we change the minimum Drupal core version to 11.1.2 because Drupal\Core\Entity\Attribute\ConfigEntityType was not backported to 10.5.
Luckily we have until Drupal Core 13 to remove it.
- π¨π¦Canada colan Toronto π¨π¦
Is this why I'm seeing the following on the Status page, in D11?
Entity/field definitions: Mismatched entity and/or field definitions: The following changes were detected in the entity type and field definitions.
Environment Switcher: The Environment Switcher entity type needs to be installed.
- πΊπΈUnited States trackleft2 Tucson, AZ πΊπΈ
You know what that might be? There are two exports in the entity definition: https://git.drupalcode.org/project/environment_indicator/-/blob/5.0.x/sr...
I am not sure why that is appearing, but for me the fix for errors like that for other entity types was to run
drush entity:save <entity_type>
Example:
drush entity:save environment_indicator
- π¨π¦Canada colan Toronto π¨π¦
Thanks for the insight. It's not actually broken though. Everything still works, it's just that this message is on the status page.