public function EntityBrowser::setWidgetSelector in Entity Browser 8
Same name and namespace in other branches
- 8.2 src/Entity/EntityBrowser.php \Drupal\entity_browser\Entity\EntityBrowser::setWidgetSelector()
Sets the id of the widget selector plugin.
Parameters
string $display: The id of the widget selector plugin.
Return value
\Drupal\entity_browser\EntityBrowserInterface The class instance this method is called on.
Overrides EntityBrowserInterface::setWidgetSelector
File
- src/
Entity/ EntityBrowser.php, line 216
Class
- EntityBrowser
- Defines an entity browser configuration entity.
Namespace
Drupal\entity_browser\EntityCode
public function setWidgetSelector($widget_selector) {
$this->widget_selector = $widget_selector;
$this->widgetSelectorCollection = NULL;
$this->widget_selector_configuration = [];
$this
->getWidgetSelector();
return $this;
}