Problem/Motivation
When using the entity reference revisions display, the following warning is genereated:
Deprecated function: Creation of dynamic property Drupal\entity_reference_revisions\Plugin\views\display\EntityReferenceRevisions::$id_field_alias is deprecated in Drupal\entity_reference_revisions\Plugin\views\display\EntityReferenceRevisions->query() (line 121 of modules/contrib/entity_reference_revisions/src/Plugin/views/display/EntityReferenceRevisions.php)
Proposed resolution
Declare it like the EntityReference display does.
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | entity_reference_revisions-3544409-1.diff | 719 bytes | mjpa |
Issue fork entity_reference_revisions-3544409
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
mjpa commentedComment #4
mjpa commentedUploading patch to use with composer.
Comment #5
mjmorley commentedCan confirm this works for me using PHP 8.3 and Drupal 10.3
Comment #8
berdirMerged.