When running tests the following deprecation message comes up:
Calling Drupal\views\Plugin\views\field\EntityField::__construct() without the $entity_type_bundle_info argument is deprecated in drupal:10.3.0 and is required in drupal:11.0.0. See https://www.drupal.org/node/3380621
Issue fork commerce-3427312
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 #2
abhishek_gupta1 commentedComment #4
czigor commentedComment #5
abhishek_gupta1 commentedComment #6
czigor commentedThe deprecation happens only from Drupal 10.3 so the MR fails.
Comment #7
jsacksick commentedWell the change isn't correct then... What we can do here is just remove the constructor and implement the create() method, calling the parent and then setting the entity type bundle info.
Comment #9
khiminrm commentedComment #10
jsacksick commentedWe now have unused use statements, see https://git.drupalcode.org/issue/commerce-3427312/-/jobs/1217450.
Comment #11
khiminrm commentedsorry, forgotten to remove the statements. updated the MR.
Comment #12
khiminrm commentedComment #14
jsacksick commented