Gutenberg
in package
Uses
UtilsProvider
Create gutenberg blocks with Server side rendering.
Table of Contents
Constants
- ID_GALLERY = RML_TD . '/gallery'
Properties
- $me : mixed
Methods
- getInstance() : Gutenberg
- Get instance.
- getPluginConstantPrefix() : string
- Get the prefix of this plugin so composer packages can dynamically build other constant values on it.
- renderGallery() : string
- Render gallery in website.
- __construct() : mixed
- Register Gutenberg block.
Constants
ID_GALLERY
public
mixed
ID_GALLERY
= RML_TD . '/gallery'
Properties
$me
private
static mixed
$me
= null
Methods
getInstance()
Get instance.
public
static getInstance() : Gutenberg
Return values
GutenberggetPluginConstantPrefix()
Get the prefix of this plugin so composer packages can dynamically build other constant values on it.
public
getPluginConstantPrefix() : string
Tags
Return values
stringrenderGallery()
Render gallery in website.
public
renderGallery(array<string|int, mixed> $attributes, string $content) : string
Parameters
- $attributes : array<string|int, mixed>
- $content : string
Tags
Return values
string__construct()
Register Gutenberg block.
private
__construct() : mixed