public function LagoonLogsLogProcessor::__invoke in Lagoon Logs 8
Parameters
array $record:
Return value
array
File
- src/
LagoonLogsLogProcessor.php, line 20
Class
Namespace
Drupal\lagoon_logsCode
public function __invoke(array $record) {
foreach ($this->processData as $key => $value) {
if (empty($record[$key])) {
$record[$key] = $value;
}
}
return $record;
}