I am creating a module for Drupal 8, in which I want to upload and extract zip file to a root directory. Inside
moduleSettingsForm.php file, I have a
function submitForm(array &$form, FormStateInterface $form_state). I am getting all the values of uploaded file but I am unable to extract the content of file.
So is there any way to do this in Drupal 8?