Hook overrideLayoutTemplate

Information

Hook locations:

  • front office

Located in:

Call of the Hook in the origin file

Hook::exec(
            'overrideLayoutTemplate',
            [
                'default_layout' => $layout,
                'entity' => $entity,
                'locale' => $this->context->language->locale,
                'controller' => $this,
                'content_only' => $content_only,
            ]
        )