/**
  * Get $contentTypeField options from conf and complete it with $contentTypeField setted values
  *
  * @param FieldTypeInterface $contentTypeField
  *
  * @return array
  */
 protected function getFieldOptions(FieldTypeInterface $contentTypeField)
 {
     $contentTypeOptions = $contentTypeField->getFormOptions();
     $options = array();
     $field = $this->fieldTypesConfiguration[$contentTypeField->getType()];
     if (isset($field['options'])) {
         $configuratedOptions = $field['options'];
         foreach ($configuratedOptions as $optionName => $optionConfiguration) {
             $options[$optionName] = isset($contentTypeOptions[$optionName]) ? $contentTypeOptions[$optionName] : $optionConfiguration['default_value'];
         }
     }
     return $options;
 }