- Issue created by @project update bot
This is an automated patch generated using Upgrade Status and Drupal Rector. Please see the issue summary for more details. A merge request is also openend and updated.
It is important that any automated tests available are run and that you manually test the changes.
Drupal 11 Compatibility
According to the Upgrade Status module → , even with these changes, this module is not yet compatible with Drupal 11.
Currently Drupal Rector, version 0.20.1, cannot fix all Drupal 11 compatibility problems.
Therefore these changes did not update the
info.yml
file for Drupal 11 compatibility.Leaving this issue open, even after committing the current patch, will allow the Project Update Bot → to post additional Drupal 11 compatibility fixes as they become available in Drupal Rector.
Debug info
Bot run #11-121090This patch was created using these packages:
- drupal/upgrade_status: 4.1.0
- mglaman/phpstan-drupal: 1.2.7
- palantirnet/drupal-rector: 0.20.1
**This patch makes the `elasticsearch_helper_views` module compatible with Drupal 11 by:**
- Replacing deprecated calls to `$this->getEntityTranslation()` with `getEntityTranslationByRelationship()` from `EntityTranslationRenderTrait`
- Updating the `.info.yml` file to support:- Merge request !1Drupal 11 compatibility: replaced deprecated getEntityTranslation and updated... → (Closed) created by Unnamed author
This is an updated patch based on the previous submission. In addition to the changes already made for Drupal 11 compatibility, this version also:
- Replaces usage of the deprecated `watchdog_exception()` with `Error::logException()` from `Drupal\Core\Utility\Error`.
This change is required because `watchdog_exception()` was deprecated in Drupal 10.1 and removed in Drupal 11.
This is an updated patch based on the previous submission. In addition to the changes already made for Drupal 11 compatibility, this version also:
- Replaces usage of the deprecated `watchdog_exception()` with `Error::logException()` from `Drupal\Core\Utility\Error`.
This change is required because `watchdog_exception()` was deprecated in Drupal 10.1 and removed in Drupal 11.