Issue #3126566 by greg.1.anderson, jungle, tedbow, hussainweb, Kristen Pol, alexpott: Allow Drupal to work with Composer 2 (cherry picked from commit 6b939e7b858afaa409d0d97e56084e2c8f209bc7)