Ojs\AdminBundle\Controller\AdminLanguageController::showAction PHP Method

showAction() public method

Finds and displays a Lang entity.
public showAction ( Lang $entity ) : Response
$entity Ojs\JournalBundle\Entity\Lang
return Symfony\Component\HttpFoundation\Response
    public function showAction(Lang $entity)
    {
        $this->throw404IfNotFound($entity);
        $token = $this->get('security.csrf.token_manager')->refreshToken('ojs_admin_language' . $entity->getId());
        return $this->render('OjsAdminBundle:AdminLanguage:show.html.twig', ['entity' => $entity, 'token' => $token]);
    }