public function postLoad(Page $page, LifecycleEventArgs $args)
    {
        $hookManager = $this->container->get('mm_cmf_content.page_hook_manager');

        foreach($hookManager->getHooks() as $hook) {
            $hook->process($page, $this->container->get('request_stack')->getCurrentRequest());
        };
    }
public function postLoad(Page $page, LifecycleEventArgs $args)
    {
        $hookManager = $this->container->get('mm_cmf_content.page_hook_manager');

        foreach($hookManager->getHooks() as $hook) {
            $hook->process($page, $this->container->get('request_stack')->getCurrentRequest());
        };
    }
public function postLoad ( Page $ page , LifecycleEventArgs $ args ) { $ hookManager = $ this -> container -> get ( 'mm_cmf_content.page_hook_manager' ) ; foreach ( $ hookManager -> getHooks ( ) as $ hook ) { $ hook -> process ( $ page , $ this -> container -> get ( 'request_stack' ) -> getCurrentRequest ( ) ) ; } ; }
postLoad Callback for Page entity, gets all defined PageHooks and calls it
@param Page $page
@param LifecycleEventArgs $args
postLoad Callback for Page entity gets all defined PageHooks and calls it