cms.page.start
Fires before all of the page & layout lifecycle handlers are run
Example usage:
Event::listen('cms.page.start', function ((\Cms\Classes\Controller) $controller) {
return Response::make('Taking over the lifecycle!', 200);
});
Or
$CmsController->bindEvent('page.start', function () {
return Response::make('Taking over the lifecycle!', 200);
});
Usage
Triggers
Class or file | Line |
---|---|
Cms\Classes\Controller
|
486 |
Copyright © 2024 Winter CMS