Referencing this parent issue task:
https://www.drupal.org/project/lupus_decoupled/issues/3503738#comment-15...
β¨
User API
Active
Creating this task to add to the ce-api the following:
$data['current_user'] = [
'id' => $user->id(),
'name' => $user->getDisplayName(),
'roles' => array_keays($user->getRoles(),
];
Pull request to follow.
Active
2.0
Code