You are here

public function CasPreRegisterEvent::getAllowAutomaticRegistration in CAS 8

Same name and namespace in other branches
  1. 2.x src/Event/CasPreRegisterEvent.php \Drupal\cas\Event\CasPreRegisterEvent::getAllowAutomaticRegistration()

Return if this user is allowed to be auto-registered or not.

Return value

bool TRUE if the user is allowed to be registered, FALSE otherwise.

File

src/Event/CasPreRegisterEvent.php, line 122

Class

CasPreRegisterEvent
Class CasPreRegisterEvent.

Namespace

Drupal\cas\Event

Code

public function getAllowAutomaticRegistration() {
  return $this->allowAutomaticRegistration;
}