You are here

public function UserDeveloperConverterInterface::convertDeveloper in Apigee Edge 8

Converts a developer entity to a Drupal user entity.

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

It modifies only those properties that changed.

Parameters

\Drupal\apigee_edge\Entity\DeveloperInterface $developer: The developer entity.

Return value

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

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

File

src/UserDeveloperConverterInterface.php, line 75

Class

UserDeveloperConverterInterface
User-developer converter service definition.

Namespace

Drupal\apigee_edge

Code

public function convertDeveloper(DeveloperInterface $developer) : DeveloperToUserConversionResult;