You are here

public function LoginDestination::getRoles in Login Destination 8

Same name and namespace in other branches
  1. 8.2 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 199

Class

LoginDestination
Defines a login destination configuration entity.

Namespace

Drupal\login_destination\Entity

Code

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