public function FlagInterface::getMessage in Flag 8.4
Gets the flag message.
Parameters
string $action: The flag action, either 'flag' or 'unflag'.
Return value
string The unflag message text to use.
1 method overrides FlagInterface::getMessage()
- Flag::getMessage in src/
Entity/ Flag.php - Gets the flag message.
File
- src/
FlagInterface.php, line 201
Class
- FlagInterface
- Defines the interface for Flag entities.
Namespace
Drupal\flagCode
public function getMessage($action);