final class O365SharepointFieldController extends ControllerBase

Returns responses for Microsoft 365 - SharePoint search Field routes.

Methods

__construct(SharepointSearchServiceInterface $searchService)

No description

create(ContainerInterface $container)

{@inheritdoc}

JsonResponse
handleAutocomplete(Request $request)

Autocomplete handler for the SharePoint field widget.

Details

at line 19
__construct(SharepointSearchServiceInterface $searchService)

No description

Parameters

SharepointSearchServiceInterface $searchService

at line 26
static O365SharepointFieldController create(ContainerInterface $container)

{@inheritdoc}

Parameters

ContainerInterface $container

Return Value

O365SharepointFieldController

at line 37
JsonResponse handleAutocomplete(Request $request)

Autocomplete handler for the SharePoint field widget.

Returns all drive items (files and folders).

Parameters

Request $request

Return Value

JsonResponse