You are here

public function LoginDestination::getWeight in Login Destination 8.2

Same name and namespace in other branches
  1. 8 src/Entity/LoginDestination.php \Drupal\login_destination\Entity\LoginDestination::getWeight()

Get Login destination rule weight.

Return value

int Weight value.

Overrides LoginDestinationInterface::getWeight

File

src/Entity/LoginDestination.php, line 220

Class

LoginDestination
Defines a login destination configuration entity.

Namespace

Drupal\login_destination\Entity

Code

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