You are here

public function UserFloodEvent::getUid in Drupal 10

Same name and namespace in other branches
  1. 9 core/modules/user/src/Event/UserFloodEvent.php \Drupal\user\Event\UserFloodEvent::getUid()

Gets the uid of the user flood event object.

Return value

int The uid of the flood event.

File

core/modules/user/src/Event/UserFloodEvent.php, line 141

Class

UserFloodEvent
Provides a user flood event for event listeners.

Namespace

Drupal\user\Event

Code

public function getUid() {
  return $this->uid;
}