Ojs\ApiBundle\Controller\Admin\PublisherThemeRestController::getPublisherthemeAction PHP Method

getPublisherthemeAction() public method

Get single PublisherTheme.
public getPublisherthemeAction ( integer $id ) : array
$id integer the PublisherTheme id
return array
    public function getPublisherthemeAction($id)
    {
        $entity = $this->getOr404($id);
        if (!$this->isGranted('VIEW', $entity)) {
            throw new AccessDeniedException();
        }
        return $entity;
    }