Drupal 9 is coming out soon. H5P needs to be D9-ready.
| Comment | File | Size | Author |
|---|---|---|---|
| #9 | deprecated_issues.patch | 36.2 KB | jorgewray93 |
| #3 | d9-compatibility-3129142-3.patch | 35.39 KB | dakala |
Issue fork h5p-3129142
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
dakalaI needed to evaluate H5P for a project that should be D9-compatible. The attached patch allowed me to run H5P successfully.
Comment #3
dakalaRe-rolled patch attached.
Comment #4
Hannes Richert commentedWill there be an official build for a working H5P module for D9 soon? I just broke my Drupal site again and would really like to go with Drupal 9 next time.
Comment #5
Elias_Gomez commentedHello Mr. Dakala, Can you explain me how where and how to put this patch on my project? I have never use any of this patches before. Thanks.
Comment #6
sharique commented@Elias, please check here in official documentation https://www.drupal.org/docs/develop/git/using-git-to-contribute-to-drupa....
Comment #7
dianacastillo commentedwe tested with the patch above and it works in d9
Comment #8
robcarrAny ideas how to install H5P with Composer on a D9 site? Have added patch entry
to
composer.json(and "cweagans/composer-patches", "drupal/h5p" as a requirement etc). But can't run Composer update/install/require for this module. Rejected because H5P package requires drupal/core ^8.Comment #9
jorgewray93 commentedI have a little issue when I put it in a site with php 7.4, I update the patch with this fix.
Comment #10
robcarrI used the approach at #3150110-40: Drupal 9 Deprecated report to install H5P via Composer (rather than try to implement the proposed patch). Seems to have worked fine
Comment #11
sim_1Marking Closed outdated since we have a working d10 version out now.