Open jigarius opened 5 years ago
Stumbled upon your issue, I'm curious did you end up implementing access static method?
It's been so long that I don't even remember filling this issue. Sorry. Not much info to add at this point.
It's been so long that I don't even remember filling this issue. Sorry. Not much info to add at this point.
No problem.
The problem
Foobar.field_allow_api_access
isFALSE
, then nobody should be able to access it through the APIFoobar::access()
method to do this check, but there isn't a clear way for me to get the entity which is in contextHow would you recommend achieving this? Any help will be appreciated. Thanks.