Problem/Motivation
Module is not compatible with D10
Steps to reproduce
* Run upgrade status report:
- Value of core_version_requirement: ^8 || ^9 is not compatible with the next major version of Drupal core. See https://drupal.org/node/3070687.
- Call to deprecated function module_load_include(). Deprecated in drupal:9.4.0 and is removed from drupal:11.0.0. Use Drupal::moduleHandler()->loadInclude($module, $type, $name = NULL). Note that including code from uninstalled extensions is no longer supported.
Proposed resolution
* updated .info.yml file and change the deprecated function with D10 compatibility.
Remaining tasks
User interface changes
API changes
Data model changes
Comments
Comment #2
jabonillac@gmail.com commentedComment #5
sakthi_dev commentedPlease review.
Comment #6
anand.toshniwal93 commentedAfter applying above patch am still getting an below error
I was able to get this working by replacing this
\Drupal::moduleHandler()->loadInclude('inc', 'webform', 'includes/webform.theme.template');with
\Drupal::moduleHandler()->loadInclude('webform', 'inc', 'includes/webform.theme.template');Comment #7
anand.toshniwal93 commentedComment #9
vakulrai commentedAttaching the patch for visibility:
Comment #10
Bushra Shaikh commentedI applied patch #9 got below error:
Comment #12
maximpodorov commentedCommitted. Thank you.