public static Drupal::root()
Gets the app root.
Return value
string
File
- core/lib/Drupal.php, line 180
- Contains \Drupal.
Class
- Drupal
- Static Service Container wrapper.
Code
public static function root() { return static::getContainer()->get('app.root'); }
Please login to continue.