Moodle: Add hook/event to alter semantics

Description

Makes it easier for other plugins to alter or modify the library semantics.
Implement alterLibrarySemantics() in hvp.php.
WordPress plugin's alterLibrarySemantics()

Acceptance Criteria

1. Pull Request where functionality works as intended.
2. GitHub issue is kept up-to-date: https://github.com/h5p/h5p-moodle-plugin/issues/26

Status

Assignee

Thomas Marstrander

Reporter

Svein-Tore Griff With

Labels

None

Funding

None

Code reviewer

Pål Jørgensen

Released

None

Time tracking

3h

Fix versions

Priority

Medium
Configure