function content_synchronizer_form_import_entity_add_form_alter in Content Synchronizer 3.x
Implements hook_form_FORM_ID_alter().
File
- ./
content_synchronizer.module, line 79 - Hooks definitions for content_synchronizer module.
Code
function content_synchronizer_form_import_entity_add_form_alter(&$form, FormStateInterface $form_state, $form_id) {
$form[ImportEntity::FIELD_ARCHIVE]['widget'][0]['#upload_location'] = ImportEntity::ARCHIVE_DESTINATION;
}