You are here

public function ExtensionDiscovery::setProfileDirectories in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/lib/Drupal/Core/Extension/ExtensionDiscovery.php \Drupal\Core\Extension\ExtensionDiscovery::setProfileDirectories()

Sets explicit profile directories to scan.

Parameters

array $paths: A list of installation profile directory paths relative to the system root directory (without trailing slash) to search for extensions.

Return value

$this

File

core/lib/Drupal/Core/Extension/ExtensionDiscovery.php, line 269
Contains \Drupal\Core\Extension\ExtensionDiscovery.

Class

ExtensionDiscovery
Discovers available extensions in the filesystem.

Namespace

Drupal\Core\Extension

Code

public function setProfileDirectories(array $paths = NULL) {
  $this->profileDirectories = $paths;
  return $this;
}