ImageBoxWidget
Namespace
Ceres\Widgets\Common
Extends
Implements
Type | Name | Value | Description |
---|---|---|---|
|
['jpg','jpeg','png','gif','svg','apng'] |
||
|
['webp'] |
||
|
['','bold,italic,underline,strike |
h1,h2,h3 |
|
align |
translation','bold,italic,underline,strike |
headline |
link |
align,ul,ol |
color,background |
translation'] |
Type | Name | Description |
---|---|---|
|
The template to be used for this widget |
Methods
public getData():array
Get basic information about the widget. Possible fields are - identifier - label - previewImageURL - type - categories - position
public getSettings():array
Return the structure of the settings for the widget
public getTemplateData($widgetSettings, $isPreview):array
Get additional data to be passed to the template while rendering.
Type |
Name |
Description |
|
The settings provided by the widget. |
|
|
A flag provided to determine if the widget is currently shown in preview. |
Thank you for your feedback!