QuickActionItem

Class QuickActionItem

 class Backend\Classes\QuickActionItem

Properties

public $attributes : array

public $code : string

public $icon : null | string

public $iconSvg : null | string

public $label : string

public $order : int

public $owner : string

public $permissions : array

public $url : string

Methods

public addAttribute (null | string | int $attribute, null | string | array $value)

Parameters
Property Description
$attribute
null | string | int
$value
null | string | array
Returns
mixed

public addPermission (string $permission, array $definition)

Parameters
Property Description
$permission
string
$definition
array
Returns
mixed

public static createFromArray (array $data) : static

Parameters
Property Description
$data
array
Returns
static

public removeAttribute ($attribute)

Parameters
Property Description
$attribute
mixed
Returns
mixed

public removePermission (string $permission) : void

Parameters
Property Description
$permission
string
Returns
void
Copyright © 2024 Winter CMS