You are here

public function Flag::setUnflagDeniedText in Flag 8.4

Set's the flag's unflag denied message text.

Parameters

string $unflag_denied_text: The unflag denied message text to use.

Overrides FlagInterface::setUnflagDeniedText

File

src/Entity/Flag.php, line 438

Class

Flag
Provides the Flag configuration entity.

Namespace

Drupal\flag\Entity

Code

public function setUnflagDeniedText($unflag_denied_text) {
  $this->unflag_denied_text = $unflag_denied_text;
}