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
1 2 3 | public static function root() { return static ::getContainer()->get( 'app.root' ); } |
Please login to continue.