|
|
@ -46,8 +46,8 @@ function disable_field_autocomplete_form_node_islandora_object_form_alter(&$form |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
function disable_field_autocomplete_node_edit_validate(&$form, \Drupal\Core\Form\FormStateInterface $form_state) { |
|
|
|
function disable_field_autocomplete_node_edit_validate(&$form, \Drupal\Core\Form\FormStateInterface $form_state) { |
|
|
|
// TODO: discover fields configured to use the disable_field_autocomplete widget instead of hardcoding. |
|
|
|
// TODO: discover fields configured to use the disable_field_autocomplete widget instead of hardcoding. |
|
|
|
disable_field_autocomplete_validate_fields('field_linked_agent', $form, $form_state); |
|
|
|
disable_field_autocomplete_validate_fields('field_contributors', $form, $form_state); |
|
|
|
disable_field_autocomplete_validate_fields('field_host_contributor', $form, $form_state); |
|
|
|
disable_field_autocomplete_validate_fields('field_host_contributors', $form, $form_state); |
|
|
|
disable_field_autocomplete_validate_fields('field_series_contributors', $form, $form_state); |
|
|
|
disable_field_autocomplete_validate_fields('field_series_contributors', $form, $form_state); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|