You are here

public function PasswordPolicy::getRoles in Password Policy 8.3

Return the user roles for the policy.

Return value

array The user roles assigned to the policy.

File

src/Entity/PasswordPolicy.php, line 140

Class

PasswordPolicy
Defines a Password Policy configuration entity class.

Namespace

Drupal\password_policy\Entity

Code

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