@ -84,13 +84,6 @@ class RoblibIllSettingsForm extends FormBase {
'#title' => t('Contact Phone Number'),
'#description' => t('The phone number we want to show to the user after a user has submitted an ILL request, Roblib uses 902-566-0445'),
'#default_value' => $config->get('ill_contact_phone'),
];
$form['ill_header_message'] = [
'#required' => TRUE,
'#type' => 'textarea',
'#title' => t('ILL Header Message'),
'#description' => t('The message that appears at the top of the ILL form, recently used for Covid messages. Leave this blank for no message to appear at the top of the form.'),
'#default_value' => $config->get('ill_header_message'),
];
$form['actions']['submit'] = [
'#type' => 'submit',
@ -120,7 +113,6 @@ class RoblibIllSettingsForm extends FormBase {
$config->set('ill_doi_openurl_pid', $form_state->getValue('ill_doi_openurl_pid'))->save();
$config->set('ill_contact_email', $form_state->getValue('ill_contact_email'))->save();
$config->set('ill_contact_phone', $form_state->getValue('ill_contact_phone'))->save();
$config->set('ill_header_message', $form_state->getValue('ill_header_message'))->save();
}
}