public function CasPreLoginEvent::getCancelLoginReason in CAS 8
Same name and namespace in other branches
- 2.x src/Event/CasPreLoginEvent.php \Drupal\cas\Event\CasPreLoginEvent::getCancelLoginReason()
Returns a user message explaining why the login process is asked to cancel.
Return value
\Drupal\Component\Render\MarkupInterface|string|null The reason why the login process is asked to cancel, if any has been set.
File
- src/
Event/ CasPreLoginEvent.php, line 151
Class
- CasPreLoginEvent
- Class CasPreLoginEvent.
Namespace
Drupal\cas\EventCode
public function getCancelLoginReason() {
return $this->cancelLoginReason;
}