public function __construct(EntityTypeManagerInterface $entityTypeManager, EntityFieldManagerInterface $entityFieldManager, IslandoraUtils $utils) {
$this->entityTypeManager = $entityTypeManager;
@ -156,12 +158,8 @@ final class DOIFieldSettingsForm extends ConfigFormBase {
$form['pairs_description'] = [
'#type' => 'markup',
'#markup' => $this->t('DOI genre terms are returned by Crossref. Please choose any term you would like to replace from your own taxonomy.'),
];
$initial_pair = [
'key' => '',
'value' => '',
'unique_id' => 'initial',
'#markup' => $this->t('DOI genre terms are returned by Crossref. Please choose any term you would like to replace from your own taxonomy.<br/><strong>Note:</strong> any unpaired terms coming from Crossref will be left blank.'),
@ -117,7 +117,11 @@ final class DoiPrepopulateForm extends FormBase {
foreach ($collections as $id => $collection) {
$options[$id] = $collection->label();
}
$form['overview'] = [
'#type' => 'markup',
'#markup' => $this->t('Enter <strong>DOI</strong> to prepopulate a new Drupal node with values from Crossref.<br/><strong>Note:</strong> The new node will be in an unpublished state.'),
'#allowed_tags' => ['br', 'strong'],
];
$form['container'] = [
'#type' => 'container',
'#attributes' => ['class' => ['form-inline']],
@ -135,7 +139,7 @@ final class DoiPrepopulateForm extends FormBase {