function UserFloodEvent::getUid

Same name in other branches
  1. 9 core/modules/user/src/Event/UserFloodEvent.php \Drupal\user\Event\UserFloodEvent::getUid()
  2. 10 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;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.