WishListPreset

This is a preset for ShopBuilder contents. Presets can be applied during content creation to generate a default content with predefined and configured widgets.
This particular preset generates a page for viewing the customer's wishlist. It contains:
- InlineTextWidget
- BackgroundWidget
- SeparatorWidget
- WishListWidget

Namespace

Ceres\Widgets\Presets

Implements
Properties
Type Name Description

PresetWidgetFactory

$backgroundWidget

The background widget

Methods
public getWidgets():mixed

Get the widget configurations of the presets to be assigned to the created content.

public createBackground($preset):PresetWidgetFactory

Creates a preconfigured white background widget

Parameters

Type

Name

Description

PresetHelper

$preset

public setBackgroundWidgetSettings($widget):PresetWidgetFactory

Configures a background widget

Parameters

Type

Name

Description

PresetWidgetFactory

$widget

public createWidget($identifier):PresetWidgetFactory

Creates the background widget with an identifier

Parameters

Type

Name

Description

string

$identifier