public function EntityBrowser::addAdditionalWidgetParameters in Entity Browser 8
Same name and namespace in other branches
- 8.2 src/Entity/EntityBrowser.php \Drupal\entity_browser\Entity\EntityBrowser::addAdditionalWidgetParameters()
Adds paramterers that will be passed to the widget.
Parameters
array $parameters: An array of parameters.
Return value
$this
Overrides EntityBrowserInterface::addAdditionalWidgetParameters
File
- src/
Entity/ EntityBrowser.php, line 322
Class
- EntityBrowser
- Defines an entity browser configuration entity.
Namespace
Drupal\entity_browser\EntityCode
public function addAdditionalWidgetParameters(array $parameters) {
// TODO - this doesn't make much sense. Refactor.
$this->additional_widget_parameters += $parameters;
return $this;
}