You are here

public function WidgetInterface::setLabel in Entity Browser 8

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

Sets the widget's label.

Parameters

string $label: New plugin label.

Return value

\Drupal\entity_browser\WidgetInterface This object.

1 method overrides WidgetInterface::setLabel()
WidgetBase::setLabel in src/WidgetBase.php
Sets the widget's label.

File

src/WidgetInterface.php, line 53

Class

WidgetInterface
Defines the interface for entity browser widgets.

Namespace

Drupal\entity_browser

Code

public function setLabel($label);