You are here

public function WidgetBase::id in Entity Browser 8

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

Returns the widget id.

Return value

string The widget id.

Overrides WidgetInterface::id

1 call to WidgetBase::id()
WidgetBase::getConfiguration in src/WidgetBase.php
Gets this plugin's configuration.

File

src/WidgetBase.php, line 231

Class

WidgetBase
Base class for widget plugins.

Namespace

Drupal\entity_browser

Code

public function id() {
  return $this->id;
}