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\drupalmonitorCode
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;
}