You are here

public function WidgetBase::label in Entity Browser 8

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

Returns the widget label.

Return value

string The widget label.

Overrides WidgetInterface::label

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

File

src/WidgetBase.php, line 245

Class

WidgetBase
Base class for widget plugins.

Namespace

Drupal\entity_browser

Code

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