Skip to content

Commit

Permalink
Changed method visibility
Browse files Browse the repository at this point in the history
  • Loading branch information
adamsokolowski06 committed Nov 4, 2024
1 parent 03ff70a commit 7250897
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/UserContext.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public function iVisitRouteForUser($route, $mail) {
/**
* Helper to get user ID.
*/
private function getUserIdByMail($mail) {
public function getUserIdByMail($mail) {
$users = \Drupal::entityTypeManager()->getStorage('user')
->getQuery()
->condition('mail', $mail)
Expand Down

0 comments on commit 7250897

Please sign in to comment.