public function AppRootFactory::get in Drupal 8
Same name and namespace in other branches
- 9 core/lib/Drupal/Core/AppRootFactory.php \Drupal\Core\AppRootFactory::get()
Gets the app root.
Return value
string
File
- core/
lib/ Drupal/ Core/ AppRootFactory.php, line 32
Class
- AppRootFactory
- Gets the app root from the kernel.
Namespace
Drupal\CoreCode
public function get() {
return $this->drupalKernel
->getAppRoot();
}