WidgetConfiguration implements WidgetConfigurationInterface
Table of Contents
Interfaces
- WidgetConfigurationInterface
- Defines API of configuration for a widget.
Methods
- __construct() : mixed
- getAdditionalCssClasses() : string
- This method returns additional CSS classes which should be added to the rendered widget
- getDescription() : string
- Returns the description of a widget, this is used for the widget selector
- getGroupNames() : array<string|int, mixed>
- Returns array of group names associated to this widget
- getHeight() : string
- Returns the height of a widget (small, medium, large)
- getIconIdentifier() : string
- Returns the icon identifier of a widget, this is used for the widget selector
- getIdentifier() : string
- Returns the unique identifier of a widget
- getServiceName() : string
- Returns the service name providing the widget implementation
- getTitle() : string
- Returns the title of a widget, this is used for the widget selector
- getWidth() : string
- Returns the width of a widget (small, medium, large)
Methods
__construct()
public
__construct(string $identifier, string $serviceName, array<string|int, mixed> $groupNames, string $title, string $description, string $iconIdentifier, string $height, string $width, array<string|int, mixed> $additionalCssClasses) : mixed
Parameters
- $identifier : string
- $serviceName : string
- $groupNames : array<string|int, mixed>
- $title : string
- $description : string
- $iconIdentifier : string
- $height : string
- $width : string
- $additionalCssClasses : array<string|int, mixed>
Tags
getAdditionalCssClasses()
This method returns additional CSS classes which should be added to the rendered widget
public
getAdditionalCssClasses() : string
Return values
stringgetDescription()
Returns the description of a widget, this is used for the widget selector
public
getDescription() : string
Return values
stringgetGroupNames()
Returns array of group names associated to this widget
public
getGroupNames() : array<string|int, mixed>
Return values
array<string|int, mixed>getHeight()
Returns the height of a widget (small, medium, large)
public
getHeight() : string
Return values
stringgetIconIdentifier()
Returns the icon identifier of a widget, this is used for the widget selector
public
getIconIdentifier() : string
Return values
stringgetIdentifier()
Returns the unique identifier of a widget
public
getIdentifier() : string
Return values
stringgetServiceName()
Returns the service name providing the widget implementation
public
getServiceName() : string
Return values
stringgetTitle()
Returns the title of a widget, this is used for the widget selector
public
getTitle() : string
Return values
stringgetWidth()
Returns the width of a widget (small, medium, large)
public
getWidth() : string