Pass Router parameter to module content method

This commit is contained in:
Hypolite Petovan 2019-11-06 22:34:38 -05:00
parent f21edefe15
commit 134d6d18f9
6 changed files with 25 additions and 20 deletions

View file

@ -94,6 +94,14 @@ class Module
return $this->module_class;
}
/**
* @return array The module parameters extracted from the route
*/
public function getParameters()
{
return $this->module_parameters;
}
/**
* @return bool True, if the current module is a backend module
* @see Module::BACKEND_MODULES for a list