You are here

public function Flag::setFlagShortText in Flag 8.4

The flag short text.

Parameters

string $text: The flag short text to set.

Overrides FlagInterface::setFlagShortText

File

src/Entity/Flag.php, line 368

Class

Flag
Provides the Flag configuration entity.

Namespace

Drupal\flag\Entity

Code

public function setFlagShortText($text) {
  $this->flag_short = $text;
}