You are here

public function ForcePasswordChangeService::getRoleExpiryTimePeriods in Force Password Change 2.0.x

Same name and namespace in other branches
  1. 8 src/Service/ForcePasswordChangeService.php \Drupal\force_password_change\Service\ForcePasswordChangeService::getRoleExpiryTimePeriods()

Get the time periods after which each role will expire.

Return value

array An array of time periods in seconds, keyed by Role ID

Overrides ForcePasswordChangeServiceInterface::getRoleExpiryTimePeriods

File

src/Service/ForcePasswordChangeService.php, line 208

Class

ForcePasswordChangeService

Namespace

Drupal\force_password_change\Service

Code

public function getRoleExpiryTimePeriods() {
  return $this->mapper
    ->getRoleExpiryTimePeriods();
}