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