You are here

public function MetricService::getConfigList in Drupalmonitor 8

Get Config List.

Return value

array Config List.

File

src/MetricService.php, line 131

Class

MetricService
Class MetricService.

Namespace

Drupal\drupalmonitor

Code

public function getConfigList() {
  $query = "SELECT * FROM {config}";
  $result = $this->database
    ->query($query);
  $data = [];
  foreach ($result as $record) {
    $data[$record->name] = unserialize($record->data);
  }
  return $data;
}