Triggers
extends Plugin
in package
Table of Contents
- $hasCpSection : bool
- $plugin : Triggers
- $schemaVersion : string
- getCpNavItem() : array<string|int, mixed>|null
- init() : mixed
- registerTwigVariables() : mixed
- Register new twig variable craft.triggers
- initializeTriggers() : mixed
- Initialize triggers
- registerCpRoutes() : mixed
- Register cp routes
- registerPermissions() : mixed
- Registers permissions
- registerProjectConfig() : mixed
- Registers project config events
Properties
$hasCpSection
public
bool
$hasCpSection
= true
Tags
$plugin
public
static Triggers
$plugin
$schemaVersion
public
string
$schemaVersion
= '2.0.1'
Tags
Methods
getCpNavItem()
public
getCpNavItem() : array<string|int, mixed>|null
Tags
Return values
array<string|int, mixed>|null —init()
public
init() : mixed
Tags
Return values
mixed —registerTwigVariables()
Register new twig variable craft.triggers
public
registerTwigVariables() : mixed
Return values
mixed —initializeTriggers()
Initialize triggers
protected
initializeTriggers() : mixed
Return values
mixed —registerCpRoutes()
Register cp routes
protected
registerCpRoutes() : mixed
Return values
mixed —registerPermissions()
Registers permissions
protected
registerPermissions() : mixed
Return values
mixed —registerProjectConfig()
Registers project config events
protected
registerProjectConfig() : mixed