public function LogEntry::getData in Ultimate Cron 8.2
Get current log entry data as an associative array.
Return value
array Log entry data.
File
- src/
Logger/ LogEntry.php, line 68
Class
- LogEntry
- Class for Ultimate Cron log entries.
Namespace
Drupal\ultimate_cron\LoggerCode
public function getData() {
$result = array();
foreach ($this->log_entry_fields as $field) {
$result[$field] = $this->{$field};
}
return $result;
}