Craft Emails (2.x)

Emails extends Plugin
in package

Table of Contents

$hasCpSection  : bool
$hasCpSettings  : bool
$plugin  : Emails
$schemaVersion  : string
getCpNavItem()  : array<string|int, mixed>|null
init()  : void
registerTwigVariables()  : mixed
Register new twig variable craft.emails
afterUninstall()  : void
createSettingsModel()  : Settings
disableSystemMessages()  : mixed
Disable Craft system messages
registerBehaviors()  : mixed
Register behaviors
registerClearCacheEvent()  : mixed
Registers Clear cache options
registerCpRoutes()  : mixed
Register cp routes
registerEmailSources()  : mixed
Register default email sources
registerMailer()  : mixed
Replace Craft mailer
registerPermissions()  : mixed
Registers permissions
registerPluginEvents()  : mixed
Register plugins events
registerProjectConfig()  : mixed
Registers project config events
registerSiteChange()  : mixed
Listen to site after save event, in case their language change
registerSiteTemplates()  : mixed
Registers front templates
registerSystemMessages()  : mixed
Register our own system messages
registerTriggers()  : mixed
Integration to triggers plugin
settingsHtml()  : string

Properties

$hasCpSection

public bool $hasCpSection = true
Tags
inheritdoc

$hasCpSettings

public bool $hasCpSettings = true
Tags
inheritdoc

$schemaVersion

public string $schemaVersion = '2.1.0'
Tags
inheritdoc

Methods

getCpNavItem()

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

init()

public init() : void
Tags
inheritdoc
Return values
void

registerTwigVariables()

Register new twig variable craft.emails

public registerTwigVariables() : mixed
Return values
mixed

afterUninstall()

protected afterUninstall() : void
Tags
inheritdoc
Return values
void

disableSystemMessages()

Disable Craft system messages

protected disableSystemMessages() : mixed
Return values
mixed

registerBehaviors()

Register behaviors

protected registerBehaviors() : mixed
Return values
mixed

registerClearCacheEvent()

Registers Clear cache options

protected registerClearCacheEvent() : mixed
Return values
mixed

registerCpRoutes()

Register cp routes

protected registerCpRoutes() : mixed
Return values
mixed

registerEmailSources()

Register default email sources

protected registerEmailSources() : mixed
Return values
mixed

registerMailer()

Replace Craft mailer

protected registerMailer() : mixed
Return values
mixed

registerPermissions()

Registers permissions

protected registerPermissions() : mixed
Return values
mixed

registerPluginEvents()

Register plugins events

protected registerPluginEvents() : mixed
Tags
since
2.0.8
Return values
mixed

registerProjectConfig()

Registers project config events

protected registerProjectConfig() : mixed
Return values
mixed

registerSiteChange()

Listen to site after save event, in case their language change

protected registerSiteChange() : mixed
Return values
mixed

registerSiteTemplates()

Registers front templates

protected registerSiteTemplates() : mixed
Return values
mixed

registerSystemMessages()

Register our own system messages

protected registerSystemMessages() : mixed
Return values
mixed

settingsHtml()

protected settingsHtml() : string
Tags
inheritDoc
Return values
string

Search results