public function AuthorizationController::queryAllProfiles in Authorization 8
Fetch and query all available profiles.
This does *not* save the user account.
See also
queryIndividualProfile()
File
- src/
AuthorizationController.php, line 135
Class
- AuthorizationController
- Authorization controller.
Namespace
Drupal\authorizationCode
public function queryAllProfiles() : void {
$queryResults = $this->entityTypeManager
->getStorage('authorization_profile')
->getQuery()
->execute();
foreach ($queryResults as $key => $value) {
$this
->queryIndividualProfile($key);
}
}