You are here

public function Flag::getWeight in Flag 8.4

Get the flag's weight.

Return value

int The flag's weight.

Overrides FlagInterface::getWeight

File

src/Entity/Flag.php, line 445

Class

Flag
Provides the Flag configuration entity.

Namespace

Drupal\flag\Entity

Code

public function getWeight() {
  return $this->weight;
}