You are here

public function RateWidgetInterface::setLabel in Rate 8.2

Set the rate widget label.

Parameters

string $label: The rate widget label.

Return value

\Drupal\message\RateWidgetInterface Returns the rate widget instance.

1 method overrides RateWidgetInterface::setLabel()
RateWidget::setLabel in src/Entity/RateWidget.php
Set the rate widget label.

File

src/RateWidgetInterface.php, line 21

Class

RateWidgetInterface
Provides an interface defining a Rate widget entity.

Namespace

Drupal\rate

Code

public function setLabel($label);