Ojs\ApiBundle\Controller\Admin\PublisherManagerRestController::newPublishermanagerAction PHP Method

newPublishermanagerAction() public method

Presents the form to use to create a new PublisherManager.
public newPublishermanagerAction ( ) : Symfony\Component\Form\FormTypeInterface
return Symfony\Component\Form\FormTypeInterface
    public function newPublishermanagerAction()
    {
        if (!$this->isGranted('CREATE', new PublisherManagers())) {
            throw new AccessDeniedException();
        }
        return $this->createForm(new PublisherManagersType(), null, ['csrf_protection' => false]);
    }