BeforeActivate

When

This event is fired just before plugin is activated.

Input

None

Possible output


 * success as boolean, if false : plugin is not activated. Default is true
 * message as string : the message to display to user. Default is 'Failed to activate the plugin.'.