- πΊπΈUnited States illeace
I did a little investigation into how to implement this. At the very least:
- The admin H5P config form would need to provide a checkbox similar to D7's "Enable shared content in H5P Hub" option.
- The "enableContentHub" hub value would need to be set in the settings in getEditorSettings() around line 55 of modules/h5peditor/src/H5PEditor/H5PEditorUtilities.php
- The "enableContentHub" property would need to be added to the array of mapped properties in line 24 of modules/h5peditor/scripts/application.js
These changes result in the "Get Shared Content" option appearing in the H5P hub editor. However, clicking the option doesn't actually work. No ajax call to load data is made. There are obviously more steps needed to enable this.