BanDelete::getQuestion

public BanDelete::getQuestion()

Returns the question to ask the user.

Return value

string The form question. The page title will be set to this value.

Overrides ConfirmFormInterface::getQuestion

File

core/modules/ban/src/Form/BanDelete.php, line 60

Class

BanDelete
Provides a form to unban IP addresses.

Namespace

Drupal\ban\Form

Code

public function getQuestion() {
  return $this->t('Are you sure you want to unblock %ip?', array('%ip' => $this->banIp));
}
doc_Drupal
2016-10-29 08:45:27
Comments
Leave a Comment

Please login to continue.