You are here

public function EntityBrowserInterface::getWidget in Entity Browser 8

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

Returns a specific widget.

Parameters

string $widget: The widget ID.

Return value

\Drupal\entity_browser\WidgetInterface The widget object.

1 method overrides EntityBrowserInterface::getWidget()
EntityBrowser::getWidget in src/Entity/EntityBrowser.php
Returns a specific widget.

File

src/EntityBrowserInterface.php, line 92

Class

EntityBrowserInterface
Provides an interface defining an entity browser entity.

Namespace

Drupal\entity_browser

Code

public function getWidget($widget);