...
The config function defines the function options at the module configuration page, where you can enable or disable the action. Return an array with following informations:
...
Code Block | ||
---|---|---|
| ||
function detectmultiaccounts_blockuser_config () { return array ( 'name' => 'Create Admin Ticket', 'description' => 'Enter a client id via which you want to create the ticket notifications', 'type' => 'text', 'size' => '5' ); } |
The If you have everything right, the defined values are included at the module configuration page and you can enable / disable your own actions on the module configuration page.
Function: run
The run function is the function, which get executed if you have enabled the action in the module configuration. It takes 2 arrays as argument:
...