public function FlagInterface::setFlagMessage in Flag 8.4
Sets the flag message.
Parameters
string $flag_message: The flag message text to use.
1 method overrides FlagInterface::setFlagMessage()
- Flag::setFlagMessage in src/
Entity/ Flag.php - Sets the flag message.
File
- src/
FlagInterface.php, line 209
Class
- FlagInterface
- Defines the interface for Flag entities.
Namespace
Drupal\flagCode
public function setFlagMessage($flag_message);