You are here

protected function UserDeveloperSyncJobTrait::logConversionProblems in Apigee Edge 8

Logs all entity conversion problems encountered meanwhile syncing.

Parameters

\Drupal\apigee_edge\Exception\UserDeveloperConversionException[] $problems: List of encountered entity conversion problems.

array $context: Additional context for log messages.

3 calls to UserDeveloperSyncJobTrait::logConversionProblems()
DeveloperCreateUpdate::beforeDeveloperSave in src/Job/DeveloperCreateUpdate.php
Execute actions before the developer gets saved.
UserCreate::afterUserSave in src/Job/UserCreate.php
Execute actions after the user has been saved.
UserUpdate::beforeUserSave in src/Job/UserUpdate.php
Execute actions before the user gets saved.

File

src/Job/UserDeveloperSyncJobTrait.php, line 71

Class

UserDeveloperSyncJobTrait
Base trait for developer- and user create and update sync jobs.

Namespace

Drupal\apigee_edge\Job

Code

protected function logConversionProblems(array $problems, array $context = []) : void {
  foreach ($problems as $problem) {
    $this
      ->logConversionProblem($problem, $context);
  }
}