You are here

public function EntityBrowser::getAdditionalWidgetParameters in Entity Browser 8

Same name and namespace in other branches
  1. 8.2 src/Entity/EntityBrowser.php \Drupal\entity_browser\Entity\EntityBrowser::getAdditionalWidgetParameters()

Gets additional parameters that will be passed to the widget.

Return value

array Array of parameters.

Overrides EntityBrowserInterface::getAdditionalWidgetParameters

File

src/Entity/EntityBrowser.php, line 331

Class

EntityBrowser
Defines an entity browser configuration entity.

Namespace

Drupal\entity_browser\Entity

Code

public function getAdditionalWidgetParameters() {

  // TODO - this doesn't make much sense. Refactor.
  return $this
    ->get('additional_widget_parameters');
}