You are here

public function CasPreRegisterEvent::getCancelRegistrationReason in CAS 2.x

Returns the reason of the registration cancellation.

Return value

\Drupal\Component\Render\MarkupInterface|string|null The reason of registration cancellation.

File

src/Event/CasPreRegisterEvent.php, line 178

Class

CasPreRegisterEvent
Class CasPreRegisterEvent.

Namespace

Drupal\cas\Event

Code

public function getCancelRegistrationReason() {
  return $this->cancelRegistrationReason;
}