/**
  * Gets the options for the model field
  * @return array Array with the name of the model as key and as value
  */
 protected function getModelOptions()
 {
     $models = $this->fieldService->getOrm()->getModels(true);
     ksort($models);
     $options = array();
     foreach ($models as $modelName => $model) {
         $options[$modelName] = $modelName;
     }
     return $options;
 }