# before_accountsuspend
Account/service is about to be suspended (module Suspend function execution).
TIP
Throw exception in your hook to block it for some reason
# Hook parameter
An array
is passed to hook containing following keys/values:
Key | Type | Description |
---|---|---|
account_id | int | Account ID |
account | array | Account details from hb_accounts table |