class ContributionPreSaveSubscriber extends PreSaveSubscriber

Properties

string $supportedOperation from PreSaveSubscriber

Methods

static array
getSubscribedEvents()

No description

onApiPrepare(PrepareEvent $event)

No description

modify($record, AbstractAction $request)

Modify the item about to be saved

bool
applies(AbstractAction $request)

Check if this subscriber should be applied to the request

Details

static array getSubscribedEvents()

Return Value

array

in PreSaveSubscriber at line 56
onApiPrepare(PrepareEvent $event)

Parameters

PrepareEvent $event

at line 44
modify($record, AbstractAction $request)

Modify the item about to be saved

Parameters

$record
AbstractAction $request

at line 49
bool applies(AbstractAction $request)

Check if this subscriber should be applied to the request

Parameters

AbstractAction $request

Return Value

bool