Search for hasRole
- Search 7.x for hasRole
- Search 9.5.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/ |
|
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.