Plugin
in
Define a system plugin
Tags
Table of Contents
- RegisterHooks() : array<string|int, mixed>
- Register system hooks
- SetupTemplate() : Result
- Get and set the plugin setup template form
Methods
RegisterHooks()
Register system hooks
public
RegisterHooks() : array<string|int, mixed>
Register a set of handler functions to be called in certain positions.
Return values
array<string|int, mixed> —A list of hooks to register
SetupTemplate()
Get and set the plugin setup template form
public
SetupTemplate([array<string|int, mixed>|null $data = null ]) : Result
Parameters
- $data : array<string|int, mixed>|null = null