Block
Table of Contents
Methods
- isDesignerAllowed() : bool
- Checks restriction for Designer Block (Superblock).
- isDynamicEnabled() : bool
- Checks dynamic block restriction.
Methods
isDesignerAllowed()
Checks restriction for Designer Block (Superblock).
public
static isDesignerAllowed() : bool
Return values
boolisDynamicEnabled()
Checks dynamic block restriction.
public
static isDynamicEnabled(string $code, array<string|int, mixed> $params) : bool
Parameters
- $code : string
-
Restriction code (not used here).
- $params : array<string|int, mixed>
-
Additional params.