SearchKitSubscriber
extends AutoService
in package
implements
EventSubscriberInterface
Event subscriber to check extra permission for SavedSearches
Tags
Table of Contents
Interfaces
- EventSubscriberInterface
Methods
- getSubscribedEvents() : array<string|int, mixed>
- onApiAuthorize() : mixed
- Alters APIv4 permissions to allow users with 'administer search_kit' to create/delete a SavedSearch
Methods
getSubscribedEvents()
public
static getSubscribedEvents() : array<string|int, mixed>
Return values
array<string|int, mixed>onApiAuthorize()
Alters APIv4 permissions to allow users with 'administer search_kit' to create/delete a SavedSearch
public
onApiAuthorize(AuthorizeEvent $event) : mixed
Parameters
- $event : AuthorizeEvent
-
API authorization event.