protected function SystemListing::profiles

List the profiles for this directory.

This version only returns those passed to the constructor.

Parameters

string $directory: The current search directory like 'modules' or 'themes'.

Return value

array A list of profiles.

1 call to SystemListing::profiles()
SystemListing::scan in drupal/core/lib/Drupal/Core/SystemListing.php
Returns information about system object files (modules, themes, etc.).
1 method overrides SystemListing::profiles()

File

drupal/core/lib/Drupal/Core/SystemListing.php, line 128
Definition of Drupal\Core\SystemListing.

Class

SystemListing
Returns information about system object files (modules, themes, etc.).

Namespace

Drupal\Core

Code

protected function profiles($directory) {
  return $this->profiles;
}