public function renderToolSiteModalAddAction() 
    {
        // declare the Tool service that we will be using to completely create our tool.
        $melisTool = $this->getServiceLocator()->get('MelisCoreTool');
    
        // tell the Tool what configuration in the app.tool.php that will be used.
        $melisTool->setMelisToolKey(self::TOOL_INDEX, self::TOOL_KEY);
    
        $view = new ViewModel();
    
        $view->setVariable('meliscms_site_tool_creation_form', $melisTool->getForm('meliscms_site_tool_creation_form'));
    
        return $view;
    }
public function renderToolSiteModalAddAction() 
    {
        // declare the Tool service that we will be using to completely create our tool.
        $melisTool = $this->getServiceLocator()->get('MelisCoreTool');
    
        // tell the Tool what configuration in the app.tool.php that will be used.
        $melisTool->setMelisToolKey(self::TOOL_INDEX, self::TOOL_KEY);
    
        $view = new ViewModel();
    
        $view->setVariable('meliscms_site_tool_creation_form', $melisTool->getForm('meliscms_site_tool_creation_form'));
    
        return $view;
    }
public function renderToolSiteModalAddAction ( ) { // declare the Tool service that we will be using to completely create our tool. $ melisTool = $ this -> getServiceLocator ( ) -> get ( 'MelisCoreTool' ) ; // tell the Tool what configuration in the app.tool.php that will be used. $ melisTool -> setMelisToolKey ( self :: TOOL_INDEX , self :: TOOL_KEY ) ; $ view = new ViewModel ( ) ; $ view -> setVariable ( 'meliscms_site_tool_creation_form' , $ melisTool -> getForm ( 'meliscms_site_tool_creation_form' ) ) ; return $ view ; }
Displays the add form in the modal
@return \Zend\View\Model\ViewModel
Displays the add form in the modal