Closed koertho closed 2 years ago
This PR add a new Util Method to get the current page model using the new contao request params including fallback for contao 4.4. It's basically the same as AbstractFragmentController::getPageModel (see https://github.com/contao/contao/blob/e61d504c9fac4e8e46e865b652b550aeed7afa0d/core-bundle/src/Controller/AbstractFragmentController.php#L47) but can be used anywhere.
Changelog:
This PR add a new Util Method to get the current page model using the new contao request params including fallback for contao 4.4. It's basically the same as AbstractFragmentController::getPageModel (see https://github.com/contao/contao/blob/e61d504c9fac4e8e46e865b652b550aeed7afa0d/core-bundle/src/Controller/AbstractFragmentController.php#L47) but can be used anywhere.
Changelog: