Craft Themes (3.x)

RelatedPluginsEvent extends Event
in package

Event to register plugins related to themes

Tags
since
3.1.0

Table of Contents

$_related  : array<string|int, mixed>
add()  : mixed
Add a related plugin's handle
getRelated()  : array<string|int, mixed>
Get all related plugins handles

Properties

protected array<string|int, mixed> $_related = ['super-table', 'commerce', 'typedlinkfield']

Methods

add()

Add a related plugin's handle

public add(string $handle) : mixed
Parameters
$handle : string
Return values
mixed

getRelated()

Get all related plugins handles

public getRelated() : array<string|int, mixed>
Return values
array<string|int, mixed>

Search results