public function CasPreRegisterEvent::allowAutomaticRegistration in CAS 2.x
Allows automatic registration.
Return value
$this
1 call to CasPreRegisterEvent::allowAutomaticRegistration()
- CasPreRegisterEvent::setAllowAutomaticRegistration in src/
Event/ CasPreRegisterEvent.php - Sets the allow auto registration proprety.
File
- src/
Event/ CasPreRegisterEvent.php, line 187
Class
- CasPreRegisterEvent
- Class CasPreRegisterEvent.
Namespace
Drupal\cas\EventCode
public function allowAutomaticRegistration() : self {
// Activate the allow automatic registration.
$this->allowAutomaticRegistration = TRUE;
$this->cancelRegistrationReason = NULL;
return $this;
}