/**
  * Get a list of available attribute types
  *
  * @return string[]
  */
 public function getAttributeTypes()
 {
     $types = $this->registry->getAliases();
     $choices = [];
     foreach ($types as $type) {
         $choices[$type] = $type;
     }
     asort($choices);
     return $choices;
 }