Problem/Motivation
In PHP 8.5 we are getting more and more UI warning messages about deprecated functions (also visible to the users on the front side).
In this case, when iterating over a ConfigEntityType, getBaseTable() always returns null. This is creating the following error several times:
Deprecated function: Using null as an array offset is deprecated, use an empty string instead in views_entity_translations_links_views_data_alter() (line 17 of modules/contrib/views_entity_translations_links/views_entity_translations_links.module).
Steps to reproduce
Install Drupal 11.3.8 with PHP 8.5
Install this module at 2.1.0
Clean caches via the UI and check the error registry.
Proposed resolution
Assign an empty string when getBaseTable() is null.
Remaining tasks
Validate solution and publish.
User interface changes
API changes
Data model changes
Issue fork views_entity_translations_links-3586456
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