private function matchContentTypeId($contentTypeId) { $contentTypeGroups = $this->repository->getContentTypeService()->loadContentType($contentTypeId)->getContentTypeGroups(); foreach ($contentTypeGroups as $group) { if (isset($this->values[$group->id])) { return true; } } return false; }