You are here

public function EntityBrowserInterface::getFirstWidget in Entity Browser 8

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

Gets first widget based on weights.

Return value

string|null First widget instance ID or NULL if no widgets are available.

1 method overrides EntityBrowserInterface::getFirstWidget()
EntityBrowser::getFirstWidget in src/Entity/EntityBrowser.php
Gets first widget based on weights.

File

src/EntityBrowserInterface.php, line 129

Class

EntityBrowserInterface
Provides an interface defining an entity browser entity.

Namespace

Drupal\entity_browser

Code

public function getFirstWidget();