function ExtensionDiscovery::getProfileDirectories

Same name in other branches
  1. 9 core/lib/Drupal/Core/Extension/ExtensionDiscovery.php \Drupal\Core\Extension\ExtensionDiscovery::getProfileDirectories()
  2. 10 core/lib/Drupal/Core/Extension/ExtensionDiscovery.php \Drupal\Core\Extension\ExtensionDiscovery::getProfileDirectories()
  3. 11.x core/lib/Drupal/Core/Extension/ExtensionDiscovery.php \Drupal\Core\Extension\ExtensionDiscovery::getProfileDirectories()

Gets the installation profile directories to be scanned.

Return value

array A list of installation profile directory paths relative to the system root directory.

File

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

Class

ExtensionDiscovery
Discovers available extensions in the filesystem.

Namespace

Drupal\Core\Extension

Code

public function getProfileDirectories() {
    return $this->profileDirectories;
}

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