HookAdapter
extends AutoService
in package
uses
IsActiveTrait
AutoService is a base-class for defining a service (in Civi's service-container).
Tags
Table of Contents
Properties
- $active : bool
Methods
- isActive() : bool
- onCompose() : mixed
- Expose to hook_civicrm_alterMailParams.
- setActive() : $this
Properties
$active
private
bool
$active
= TRUE
Methods
isActive()
public
isActive() : bool
Return values
boolonCompose()
Expose to hook_civicrm_alterMailParams.
public
onCompose(ComposeBatchEvent $e) : mixed
Parameters
- $e : ComposeBatchEvent
setActive()
public
setActive(bool $active) : $this
Parameters
- $active : bool