You are here

public function Telemetry::getAcquiaExtensionNames in Lightning Core 8.3

Same name and namespace in other branches
  1. 8.4 modules/acquia_telemetry/src/Telemetry.php \Drupal\acquia_telemetry\Telemetry::getAcquiaExtensionNames()

Gets an array of all Acquia Drupal extensions.

Return value

array A flat array of all Acquia Drupal extensions.

1 call to Telemetry::getAcquiaExtensionNames()
Telemetry::getExtensionInfo in modules/acquia_telemetry/src/Telemetry.php
Get an array of information about Lightning extensions.

File

modules/acquia_telemetry/src/Telemetry.php, line 224

Class

Telemetry
Telemetry service.

Namespace

Drupal\acquia_telemetry

Code

public function getAcquiaExtensionNames() {
  $discovery = new ComponentDiscovery($this->root);
  return array_keys($discovery
    ->getAll());
}