You are here

public function LoginDestination::getRoles in Login Destination 8.2

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

Get Login destination roles.

Return value

array List of roles.

Overrides LoginDestinationInterface::getRoles

File

src/Entity/LoginDestination.php, line 213

Class

LoginDestination
Defines a login destination configuration entity.

Namespace

Drupal\login_destination\Entity

Code

public function getRoles() {
  return $this->roles;
}