Development environment - still only Drupal 7? Possibility to develop in moodle environment?

Forums: 

Hi @all,

as I want to adapt and expand an existing H5P module, I was wondering which development environment would be the best one. Starting off with moodle leaves me a little lost on where to clone the repo to in my folder structure (-> does anyone know that?). According to the dev guidelines I decided to approach it by using drupal for developing the module and integrating it in moodle later.

But... after installing Drupal 9.5 (as far as I understand, the h5p drupal module is compatible with drupal 8 & 9), I cannot find the development mode anywhere. Did I just not find it or is it really still only possible to use drupal 7 for that? It reaches it's end of life by the end of this year... Or is the development mode hidden elsewhere and someone can point me into the right direction?

Thanks a lot in advance!

TV

 

As I noticed... It would be better to develop the module in the moodle environment anyway. Is there a folder where the module can be cloned to? When installing h5p modules via the h5p hub I did not notice any changes in the folder structure in moodle.

otacke's picture

The moodle plugin does not have a dedicated developing mode (and doing everything manually is painful) and the Drupal 7 development environment will be retiring soon, too.

The H5P CLI tool is currently being rewritten completely and will allow you to host and test content types on a local server instance without the need for a specific platform.

Thank you for your reply!

I'd switch to the H5P CLI tool, but our setup requires a stronger coupling with moodle. I am working for a research group at a university and we are trying to combine the h5p content in moodle with our adaptive framework. Therefor we adapted the moodle h5p plugin so that it holds the additional information and functionality that we require. This is the reason why we cannot simply switch to drupal or the h5p cli tool.

Is there any documentation of the painful manual way? I'd probably have to try it...

otacke's picture

Not sure what you need a specific platform for in order to develop a platform agnostic H5P content type, but: No, I don't think there is a manual.

papi Jo's picture

you wrote "The H5P CLI tool is currently being rewritten completely and will allow you to host and test content types on a local server instance without the need for a specific platform."

Where can we follow this H5P CLI tool  development? Or is it too early yet?

otacke's picture

On github, of course: https://github.com/h5p/h5p-cli/tree/h5p-cli-rewrite I don't have access to an non-public sources.