You are here

public function UserDeveloperConverterInterface::convertUser in Apigee Edge 8

Converts Drupal user entity to a developer entity.

Creates a new developer entity if it did not exist for a user or update properties of the existing developer entity.

It modifies only those properties that changed.

Parameters

\Drupal\user\UserInterface $user: The Drupal user entity.

Return value

\Drupal\apigee_edge\Structure\UserToDeveloperConversionResult The result of the conversion.

1 method overrides UserDeveloperConverterInterface::convertUser()
UserDeveloperConverter::convertUser in src/UserDeveloperConverter.php
Converts Drupal user entity to a developer entity.

File

src/UserDeveloperConverterInterface.php, line 59

Class

UserDeveloperConverterInterface
User-developer converter service definition.

Namespace

Drupal\apigee_edge

Code

public function convertUser(UserInterface $user) : UserToDeveloperConversionResult;