You are here

public function EntityBrowser::getWidgetSelector in Entity Browser 8.2

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

Returns the widget selector.

Return value

\Drupal\entity_browser\WidgetSelectorInterface The widget selector.

Overrides EntityBrowserInterface::getWidgetSelector

1 call to EntityBrowser::getWidgetSelector()
EntityBrowser::setWidgetSelector in src/Entity/EntityBrowser.php
Sets the id of the widget selector plugin.

File

src/Entity/EntityBrowser.php, line 378

Class

EntityBrowser
Defines an entity browser configuration entity.

Namespace

Drupal\entity_browser\Entity

Code

public function getWidgetSelector() {
  return $this
    ->widgetSelectorPluginCollection()
    ->get($this->widget_selector);
}