Ojs\ApiBundle\Controller\Admin\PublisherThemeRestController::newPublisherthemeAction PHP Метод

newPublisherthemeAction() публичный Метод

Presents the form to use to create a new PublisherTheme.
public newPublisherthemeAction ( ) : Symfony\Component\Form\FormTypeInterface
Результат Symfony\Component\Form\FormTypeInterface
    public function newPublisherthemeAction()
    {
        if (!$this->isGranted('CREATE', new PublisherTheme())) {
            throw new AccessDeniedException();
        }
        return $this->createForm(new PublisherThemeType(), null, ['csrf_protection' => false]);
    }