You are here

public function Flag::setFlagMessage in Flag 8.4

Sets the flag message.

Parameters

string $flag_message: The flag message text to use.

Overrides FlagInterface::setFlagMessage

File

src/Entity/Flag.php, line 403

Class

Flag
Provides the Flag configuration entity.

Namespace

Drupal\flag\Entity

Code

public function setFlagMessage($flag_message) {
  $this->flag_message = $flag_message;
}