You are here

public function EntityBrowserInterface::addWidget in Entity Browser 8

Same name and namespace in other branches
  1. 8.2 src/EntityBrowserInterface.php \Drupal\entity_browser\EntityBrowserInterface::addWidget()

Saves a widget for this entity browser.

Parameters

array $configuration: An array of widget configuration.

Return value

string The widget ID.

1 method overrides EntityBrowserInterface::addWidget()
EntityBrowser::addWidget in src/Entity/EntityBrowser.php
Saves a widget for this entity browser.

File

src/EntityBrowserInterface.php, line 111

Class

EntityBrowserInterface
Provides an interface defining an entity browser entity.

Namespace

Drupal\entity_browser

Code

public function addWidget(array $configuration);