Pull in CRM_Utils_System_Drupal8::formatResourceURL() from Drupal_Base.
Fix offset. Temporary fix until we can come back to gut this function.
Mark this function as pending Drupal 8 upgrade.
Todo is done.
Minor spelling correction.
Update CRM_Utils_System_Drupal8::getUfId() to Drupal 8.