UserLookupController
class UserLookupController extends Controller (View source)
Controller to look up users by name.
This is used to populate the @mentions suggestion box in the text editor. The return format is an array of objects with the following keys:
id
: the user IDname
: the user's namehtml
: a rendering of the UserLabel component for the user
Traits
AuthorizesRequests
DispatchesJobs
ValidatesRequests
Constants
LIMIT |
|
Methods
__invoke(Post|null $post, Request $request)
No description
Details
__invoke(Post|null $post, Request $request)
No description