Narendra@drupalchamp โ changed the visibility of the branch 2868049-unable-to-determine to hidden.
Narendra@drupalchamp โ made their first commit to this issueโs fork.
@DamienMcKenna
I tried your way but had no luck, instead, I upgraded the Pantheon search API module by the composer. That solves my issue.
Alwine_S
could you please mention exactly which module you installed to solve this issue? I am currently working on Drupal9.0 and facing the same issue.
hi, There
I am using drupal 9.2.7 and i have an issue with managed_file. I used a custom form with managed_file, it creates a directory and uploads the document but in submitForm function, it gives only a "blank array". there are no details about fid, file type, size, etc on submit function. i am using $form_state->getValues('file_name'); as below code-
$form['select_file'] = [
'#type' => 'managed_file',
'#title' => $this->t('choose file'),
'#multiple' => FALSE,
'#description' => t("Document should be in .jpeg, .jpg, .png, .gif, .txt, .docx and .pdf format!"),
'#upload_location' => 'public://Applicant-file/applicant_'.$id.'',
'#upload_validators' => array
(
'file_validate_extensions' => array('pdf jpg jpeg png gif txt docx '),
'file_validate_size' => array(25600000),
),
];
public function submitForm(array &$form, FormStateInterface $form_state) {
$select_file = $form_state->getValue('select_file');
................................
................................
}