You are here

public function MessageTemplateInterface::setLabel in Message 8

Set the message template label.

Parameters

string $label: The message template label.

Return value

\Drupal\message\MessageTemplateInterface Returns the message template instance.

1 method overrides MessageTemplateInterface::setLabel()
MessageTemplate::setLabel in src/Entity/MessageTemplate.php
Set the message template label.

File

src/MessageTemplateInterface.php, line 41

Class

MessageTemplateInterface
Provides an interface defining a Message template entity.

Namespace

Drupal\message

Code

public function setLabel($label);