/**
  * @param array $customFields
  *
  * @return array
  */
 public function getList($customFields = array())
 {
     $choices = array();
     foreach ($this->types as $v => $type) {
         $choices[$v] = $this->translator->transConditional("mautic.core.type.{$v}", "mautic.form.field.type.{$v}");
     }
     foreach ($customFields as $v => $f) {
         $choices[$v] = $this->translator->trans($f['label']);
     }
     natcasesort($choices);
     return $choices;
 }