Icon
Table of Contents
Constants
- CONTENT_ICON_FILE_NAME = 'content.css'
- File name with icon content.
- ICON_FONT_FILE_NAME = 'font.woff'
- File names of two types of fonts
- ICON_FONT_FILE_NAME_2 = 'font.woff2'
- RULE_ICON_FILE_NAME = 'style.css'
- File name with icon css rules.
Methods
- processing() : void
- Processing icons in the block content.
- processingLanding() : void
- Processing entire landing.
- view() : void
- Shows icons styles on the block output.
Constants
CONTENT_ICON_FILE_NAME
File name with icon content.
public
mixed
CONTENT_ICON_FILE_NAME
= 'content.css'
ICON_FONT_FILE_NAME
File names of two types of fonts
public
mixed
ICON_FONT_FILE_NAME
= 'font.woff'
ICON_FONT_FILE_NAME_2
public
mixed
ICON_FONT_FILE_NAME_2
= 'font.woff2'
RULE_ICON_FILE_NAME
File name with icon css rules.
public
mixed
RULE_ICON_FILE_NAME
= 'style.css'
Methods
processing()
Processing icons in the block content.
public
static processing(Block $block) : void
Parameters
- $block : Block
-
Block instance.
processingLanding()
Processing entire landing.
public
static processingLanding(int $landingId) : void
Parameters
- $landingId : int
-
Landing id.
view()
Shows icons styles on the block output.
public
static view(Block $block) : void
Parameters
- $block : Block
-
Block instance.