Documentation

CustomValueAccessSubscriber extends AutoService
in package
implements EventSubscriberInterface

Enforce constraints on Custom entities

Currently:

  • deny create if max_multiple reached for the given entity_id

TODO:

  • deny delete if min_multiple under threat
  • deny replace / save if it will threaten min/max
  • ?
Tags
service

internal

Table of Contents

Interfaces

EventSubscriberInterface

Methods

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

Methods

getSubscribedEvents()

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

        
On this page

Search results