public function frontendEditing(FormBuilderInterface $fb, Page $page, Draft $draft, &$options){
        $options["beforeHTML"] = $page->getType()->display($page, $options);
        return $fb;
    }
public function frontendEditing(FormBuilderInterface $fb, Page $page, Draft $draft, &$options){
        $options["beforeHTML"] = $page->getType()->display($page, $options);
        return $fb;
    }
public function frontendEditing ( FormBuilderInterface $ fb , Page $ page , Draft $ draft , & $ options ) { $ options [ "beforeHTML" ] = $ page -> getType ( ) -> display ( $ page , $ options ) ; return $ fb ; }
This function is called when the admin go to frontend for editing. must return HTML as the display function do. fEditingHandle will be called for saving
@param FormBuilderInterface $fb
@param Page $page
@param Draft $draft
@param array $options
@return FormBuilderInterface
This function is called when the admin go to frontend for editing . must return HTML as the display function do . fEditingHandle will be called for saving