getFrontendModule
The getFrontendModule hook allows to manipulate the generation of the front end
modules.
Note
This hook is also executed for forms that are integrated into a page layout via a front end module.
Parameters
\Contao\ModuleModel
$modelDatabase result of the front end module as a
\Contao\ModuleModelinstance.string
$bufferThe generated front end module buffer.
object
$moduleAn instance of the front end module’s class that is registered for this module’s type.
Return Values
Return $buffer or your custom modification.