@ -136,6 +136,8 @@ final class CollectionHarvestForm extends FormBase {
$collections[$node->id()] = $node->label();
}
}
asort($collections);
$form_state->set('collections', $collections);
// Load media use taxonomy terms.
$vid = 'islandora_media_use';
@ -146,6 +148,11 @@ final class CollectionHarvestForm extends FormBase {
$media_use_options[$term->tid] = $term->name;
}
$form['introduction'] = [
'#type' => 'markup',
'#markup' => '<p><strong>' . $this->t("Select collection and media use to harvest. A zip of the media files will download to your computer.") . '</strong></p>',
];
// Collection selector.
$form['collection'] = [
'#type' => 'select',
@ -225,12 +232,14 @@ final class CollectionHarvestForm extends FormBase {