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