Problem/Motivation
Call to deprecated function user_roles(): in drupal:10.2.0 and is removed from drupal:11.0.0. Use \Drupal\user\Entity\Role::loadMultiple()
Issue fork entity_print-3465822
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
ankitv18 commented@larowlan
This deprecated method is in hook_update_N i.e entity_print_update_8101 ~~ Do we need to fix this with a suggested replacement?
Comment #4
larowlanEither we add a hook_update_last_removed and remove this hook or we drop support for 10.1
Or both
Comment #7
sarwan_verma commentedHi,
I have resolved all the deprecated functions for Drupal 10 and created MR!62. Kindly review it.
Thanks.
Comment #9
ankitv18 commentedComment #10
ankitv18 commentedAs per suggestion by @larowlan I've raised the MR.
Comment #11
larowlanPlus one for this - but looks like there's a new fail on PHPUnit next minor? https://git.drupalcode.org/project/entity_print/-/pipelines/242319 is passing in HEAD
Comment #12
ankitv18 commented@larowlan I've re-run the phpunit-next minor and it is passing now ~~ We are good to move ahead with this one.
Comment #14
larowlan