diff --git a/trpcultivate_germplasm/src/Plugin/TripalImporter/GermplasmAccessionImporter.php b/trpcultivate_germplasm/src/Plugin/TripalImporter/GermplasmAccessionImporter.php index f60f824..a000825 100644 --- a/trpcultivate_germplasm/src/Plugin/TripalImporter/GermplasmAccessionImporter.php +++ b/trpcultivate_germplasm/src/Plugin/TripalImporter/GermplasmAccessionImporter.php @@ -56,12 +56,14 @@ public function describeUploadFileFormat() { 'Synonyms' => 'Any synonyms of the accession. (e.g. Redberry)', ]; - $required_col = ['Germplasm Name', 'Accession Number', 'Germplasm Species']; + $required_col = ['Germplasm Name', 'External Database', 'Accession Number', 'Germplasm Species']; + // @TODO: Make this red, but Drupal makes it difficult :) + $required_markup = '*'; $output .= '
    '; foreach ($columns as $title => $definition) { if (in_array($title, $required_col)) { - $output .= '
  1. ' . $title . '*: ' . $definition . '
  2. '; + $output .= '
  3. ' . $title . $required_markup . ': ' . $definition . '
  4. '; } else { $output .= '
  5. ' . $title . ': ' . $definition . '
  6. ';