You are here

protected function WidgetSelectorBase::getDefaultWidget in Entity Browser 8

Same name and namespace in other branches
  1. 8.2 src/WidgetSelectorBase.php \Drupal\entity_browser\WidgetSelectorBase::getDefaultWidget()
2 calls to WidgetSelectorBase::getDefaultWidget()
DropDown::getForm in src/Plugin/EntityBrowser/WidgetSelector/DropDown.php
Returns widget selector form.
Tabs::getForm in src/Plugin/EntityBrowser/WidgetSelector/Tabs.php
Returns widget selector form.

File

src/WidgetSelectorBase.php, line 90

Class

WidgetSelectorBase
Base class for widget selector plugins.

Namespace

Drupal\entity_browser

Code

protected function getDefaultWidget() {
  return $this->defaultWidget;
}