Search for hasRole
- Search 7.x for hasRole
- Search 8.9.x for hasRole
- Search 10.3.x for hasRole
- Search 11.x for hasRole
- Other projects
Title | Object type | File name | Summary |
---|---|---|---|
User::hasRole | function | core/ |
Whether a user has a certain role. |
UserInterface::hasRole | function | core/ |
Whether a user has a certain role. |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.