ExtensionDiscovery::$root

Same name in other branches
  1. 9 core/lib/Drupal/Core/Extension/ExtensionDiscovery.php \Drupal\Core\Extension\ExtensionDiscovery::root
  2. 8.9.x core/lib/Drupal/Core/Extension/ExtensionDiscovery.php \Drupal\Core\Extension\ExtensionDiscovery::root
  3. 11.x core/lib/Drupal/Core/Extension/ExtensionDiscovery.php \Drupal\Core\Extension\ExtensionDiscovery::root

The app root for the current operation.

Type: string

File

core/lib/Drupal/Core/Extension/ExtensionDiscovery.php, line 78

Class

ExtensionDiscovery
Discovers available extensions in the filesystem.

Namespace

Drupal\Core\Extension

Code

protected $root;

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.