You are here

public function FarmFlag::getLabel in farmOS 2.x

Returns the flag label.

Return value

string The flag label.

Overrides FarmFlagInterface::getLabel

File

modules/core/flag/src/Entity/FarmFlag.php, line 57

Class

FarmFlag
Defines the FarmFlag entity.

Namespace

Drupal\farm_flag\Entity

Code

public function getLabel() {
  return $this->label;
}