\Dewdrop\FieldsUserInterface

This interface represents the methods that need to be present on the object representing your user in order for that object to interact with the Fields API. It shouldn't necessarily contain methods for other user related methods, like authentication.

Summary

Methods
Constants
hasRole()
No constants found
No protected methods found
N/A
No private methods found
N/A

Methods

hasRole()

hasRole(mixed  $role) : boolean

Check to see if the user has the specified role.

Parameters

mixed $role

Returns

boolean