You are here

interface WidgetSettingsInterface in Maxlength 8

The WidgetManagerInterface interface definition.

Hierarchy

Expanded class hierarchy of WidgetSettingsInterface

All classes that implement WidgetSettingsInterface

File

src/WidgetSettingsInterface.php, line 8

Namespace

Drupal\maxlength
View 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

Namesort descending Modifiers Type Description Overrides
WidgetSettingsInterface::getAllowedSettings public function Returns which settings are allowed for a widget. 1
WidgetSettingsInterface::getAllowedSettingsForAll public function Returns all the settings which are allowed for all the widgets. 1