Loading src/EntityLogService.php +3 −0 Original line number Diff line number Diff line Loading @@ -98,6 +98,9 @@ class EntityLogService implements EntityLogServiceInterface { if ($new_value != $old_value) { $old_value = implode(',', $old_value); $new_value = implode(',', $new_value); if ($old_value === $new_value || (empty($old_value) && empty($new_value))) { continue; } if ($this->configFactory->get('entity_log.configuration')->get('log_in_logger')) { $this->logger->info('Entity type: @type | Bundle: @bundle | Field: @field_name | Old: @old | New: @new', [ '@type' => $entity->getEntityTypeId(), Loading Loading
src/EntityLogService.php +3 −0 Original line number Diff line number Diff line Loading @@ -98,6 +98,9 @@ class EntityLogService implements EntityLogServiceInterface { if ($new_value != $old_value) { $old_value = implode(',', $old_value); $new_value = implode(',', $new_value); if ($old_value === $new_value || (empty($old_value) && empty($new_value))) { continue; } if ($this->configFactory->get('entity_log.configuration')->get('log_in_logger')) { $this->logger->info('Entity type: @type | Bundle: @bundle | Field: @field_name | Old: @old | New: @new', [ '@type' => $entity->getEntityTypeId(), Loading