interface WidgetSettingsInterface in Maxlength 8
The WidgetManagerInterface interface definition.
Hierarchy
- interface \Drupal\maxlength\WidgetSettingsInterface
Expanded class hierarchy of WidgetSettingsInterface
All classes that implement WidgetSettingsInterface
File
- src/
WidgetSettingsInterface.php, line 8
Namespace
Drupal\maxlengthView source
interface WidgetSettingsInterface {
/**
* Returns which settings are allowed for a widget.
*
* @param string $widget_plugin_id
* The plugin id of a widget.
*
* @return array()
* An array with all the settings which are allowed for a plugin id.
*/
public function getAllowedSettings($widget_plugin_id);
/**
* Returns all the settings which are allowed for all the widgets.
*/
public function getAllowedSettingsForAll();
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
WidgetSettingsInterface:: |
public | function | Returns which settings are allowed for a widget. | 1 |
WidgetSettingsInterface:: |
public | function | Returns all the settings which are allowed for all the widgets. | 1 |