nortmas
9/27/2017 - 4:43 PM

Globals

// absolute url domain path
global $base_root;

// absolute path to folder
$drupal_root = \Drupal::root();