Craft Triggers (2.x)

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
inheritdoc

$schemaVersion

public string $schemaVersion = '2.0.1'
Tags
inheritdoc

Methods

getCpNavItem()

public getCpNavItem() : array<string|int, mixed>|null
Tags
inheritdoc
Return values
array<string|int, mixed>|null

init()

public init() : mixed
Tags
inheritdoc
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
Return values
mixed

Search results