You are here

public function LibrariesDirectoryFileFinder::__construct in Lightning Media 8.4

Constructs a new LibrariesDirectoryFileFinder instance.

Parameters

string $root: The app root.

string $site_path: The site path.

\Drupal\Core\Extension\ProfileExtensionList $profile_extension_list: The profile extension list.

string $install_profile: The install profile.

File

src/LibrariesDirectoryFileFinder.php, line 58

Class

LibrariesDirectoryFileFinder
Looks for front-end JavaScript libraries in common directories.

Namespace

Drupal\lightning_media

Code

public function __construct($root, $site_path, ProfileExtensionList $profile_extension_list, $install_profile) {
  $this->root = $root;
  $this->sitePath = $site_path;
  $this->profileExtensionList = $profile_extension_list;
  $this->installProfile = $install_profile;
}