- Issue created by @xadag
- 🇫🇷France xadag
Hi,
Nice job with this amazing O365 module.
It would be great to extend the TeamsLinksBlock to work on other pages then the user page.
I achieve that with testing the $user variable and use $user = \Drupal\user\Entity\User::load(\Drupal::currentUser()->id()); if we can't get the user from the route context.Thanks.
- 🇳🇱Netherlands fabianderijk Alphen aan den Rijn
We can do this, however, this goes past the meaning of this block. This was initially made to create call/chat links to other users. Of you would use the current user you would create links to yourself. This sounds a bit weird for me.
- 🇫🇷France xadag
Ok i see now it's clear for me thanks. I didn't understand the goal of this block :)
- Status changed to Closed: works as designed
almost 2 years ago 11:30am 23 January 2023