Hook actionListModules

Informations

Allows you to add your own modules from a remote source in the modules list in the back office.
Hook actionListModules
Locations
BO
Type action
Origin core
Aliases
Description

Located in

Origin File

Call of the Hook in the origin file

$modulesFromHook = $this->hookManager->exec('actionListModules', [], null, true);
$modulesFromHook = array_values($modulesFromHook ?? []);

Example implementation

This hook has been implemented in the native ps_distributionapiclient module