// absolute url domain path global $base_root; // absolute path to folder $drupal_root = \Drupal::root();