public function AuthorizationController::clearAuthorizations in Authorization 8
Clear processed authorizations.
If the service is called multiple times (e.g. for testing with query(), instead of set()) this allows one to clear the list of processed authorizations.
File
- src/
AuthorizationController.php, line 173
Class
- AuthorizationController
- Authorization controller.
Namespace
Drupal\authorizationCode
public function clearAuthorizations() : void {
$this->processedAuthorizations = [];
}