Documentation

PermissionCheckSubscriber extends AutoService
in package
implements EventSubscriberInterface

For any API requests that correspond to a Doctrine entity ($apiRequest['doctrineClass']), check permissions specified in Civi\API\Annotation\Permission.

Tags
service

civi.api4.permissionCheck

Table of Contents

Interfaces

EventSubscriberInterface

Methods

getSubscribedEvents()  : array<string|int, mixed>
onApiAuthorize()  : mixed

Methods

getSubscribedEvents()

public static getSubscribedEvents() : array<string|int, mixed>
Return values
array<string|int, mixed>

        
On this page

Search results