Icon extends Node
Table of Contents
Methods
- getHandlerJS() : string
- Get class - frontend handler.
- getNode() : array<string|int, mixed>
- Get data for this node.
- saveNode() : void
- Save data for this node.
Methods
getHandlerJS()
Get class - frontend handler.
public
static getHandlerJS() : string
Return values
stringgetNode()
Get data for this node.
public
static getNode(Block $block, string $selector) : array<string|int, mixed>
Parameters
- $block : Block
-
Block instance.
- $selector : string
-
Selector.
Return values
array<string|int, mixed>saveNode()
Save data for this node.
public
static saveNode(Block $block, string $selector, array<string|int, mixed> $data) : void
Parameters
- $block : Block
-
Block instance.
- $selector : string
-
Selector.
- $data : array<string|int, mixed>
-
Data array.