Ojs\ApiBundle\Controller\Journal\JournalIssueRestController::newIssueAction PHP Method

newIssueAction() public method

Presents the form to use to create a new Issue.
public newIssueAction ( ) : Symfony\Component\Form\FormTypeInterface
return Symfony\Component\Form\FormTypeInterface
    public function newIssueAction()
    {
        $journal = $this->get('ojs.journal_service')->getSelectedJournal();
        if (!$this->isGranted('CREATE', $journal, 'issues')) {
            throw new AccessDeniedException();
        }
        return $this->createForm(new IssueType(), null, ['csrf_protection' => false]);
    }