apigee-edge-drupal icon indicating copy to clipboard operation
apigee-edge-drupal copied to clipboard

Enable drupal-check in workflow for 4.x

Open kedarkhaire opened this issue 9 months ago • 2 comments

Description

Here in Drupal v11, drupal-check is removed as it throws errors for deprecated classes and functions. These classes & functions are deprecated in Drupal v10.3 and will be removed in Drupal v12 but they are no issue for Drupal v11. The deprecated functions and classes are suppressed in v3.x-latest version for D10.3 compatibility.

Issues related for these are as follows

  1. getName() is deprecated - https://www.drupal.org/node/3310017
  2. class RenderElement is deprecated - https://www.drupal.org/node/3436275
  3. renderPlain() is deprecated - https://www.drupal.org/node/3407994
  4. class constant EXISTS_REPLACE is deprecated - https://www.drupal.org/node/3426517

Partial fixes for these functions and classes are done in these PRs - #1115 , #1116 , #1117 , #1118 But still these changes will need through testing and dependent updates to other pages as well.

Apigee Info

Apigee Edge 4.0.0 & Drupal 11

kedarkhaire avatar Feb 12 '25 13:02 kedarkhaire

getName() is deprecated - TeamPermissionHandler.php ModuleHandlerInterface to be updated with ModuleExtensionList for https://github.com/apigee/apigee-m10n-drupal/issues/529

kedarkhaire avatar Mar 28 '25 11:03 kedarkhaire

renderPlain() is deprecated - AppListBuilder.php Update renderPlain() with renderInIsolation() on 293 for https://github.com/apigee/apigee-m10n-drupal/issues/529

kedarkhaire avatar Mar 28 '25 11:03 kedarkhaire