/** * List groups * * @Template * @AclAncestor("pim_enrich_group_index") * * @return Response */ public function indexAction() { $groupTypes = $this->groupTypeRepository->findTypeIds(false); return ['groupTypes' => $groupTypes]; }
/** * {@inheritdoc} * * @Template * @AclAncestor("pim_enrich_variant_group_index") * * @return Response */ public function indexAction() { return ['groupTypes' => $this->groupTypeRepository->findTypeIds(true)]; }