public function getTypesMetaAction()
    {
        $typeClasses = $this->getDoctrine()->getEntityManager()->getClassMetadata('CampaignChain\CoreBundle\Entity\Module')->discriminatorMap;

        return $this->response(
            VariableUtil::arrayFlatten(array_keys($typeClasses))
        );
    }