src/BoomCMS/Http/Controllers/Page/Version.php
public function requestApproval(Page $page)
    {
        $this->authorize('edit', $page);

        $page->markUpdatesAsPendingApproval();

        Event::fire(new Events\PageApprovalRequested($page, auth()->user()));

        return $page->getCurrentVersion()->getStatus();
    }
public function requestApproval(Page $page)
    {
        $this->authorize('edit', $page);

        $page->markUpdatesAsPendingApproval();

        Event::fire(new Events\PageApprovalRequested($page, auth()->user()));

        return $page->getCurrentVersion()->getStatus();
    }
public function requestApproval ( Page $ page ) { $ this -> authorize ( 'edit' , $ page ) ; $ page -> markUpdatesAsPendingApproval ( ) ; Event :: fire ( new Events \ PageApprovalRequested ( $ page , auth ( ) -> user ( ) ) ) ; return $ page -> getCurrentVersion ( ) -> getStatus ( ) ; }
Mark the page as requiring approval.

@param Page $page

@return string
Mark the page as requiring approval .