public function indexAction()
    {
        $contentTypes = $this->get('opifer.content.content_type_manager')->getRepository()
            ->findAll();

        return $this->render($this->getParameter('opifer_content.content_type_index_view'), [
            'content_types' => $contentTypes,
        ]);
    }
public function indexAction()
    {
        $contentTypes = $this->get('opifer.content.content_type_manager')->getRepository()
            ->findAll();

        return $this->render($this->getParameter('opifer_content.content_type_index_view'), [
            'content_types' => $contentTypes,
        ]);
    }
public function indexAction ( ) { $ contentTypes = $ this -> get ( 'opifer.content.content_type_manager' ) -> getRepository ( ) -> findAll ( ) ; return $ this -> render ( $ this -> getParameter ( 'opifer_content.content_type_index_view' ) , [ 'content_types' => $ contentTypes , ] ) ; }
ContentType index view.

The template defaults to `OpiferContentBundle:ContentType:index.html.twig`, but can easily be overwritten
in the bundle configuration.

@return Response
ContentType index view .