function UserFloodEvent::getName

Same name in other branches
  1. 9 core/modules/user/src/Event/UserFloodEvent.php \Drupal\user\Event\UserFloodEvent::getName()
  2. 11.x core/modules/user/src/Event/UserFloodEvent.php \Drupal\user\Event\UserFloodEvent::getName()

Gets the name of the user flood event object.

Return value

string The name of the flood event.

File

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

Class

UserFloodEvent
Provides a user flood event for event listeners.

Namespace

Drupal\user\Event

Code

public function getName() {
    return $this->name;
}

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