You are here

public function IPRangesDeleteForm::getQuestion in IP Ranges 8

Returns the question to ask the user.

Return value

\Drupal\Core\StringTranslation\TranslatableMarkup The form question. The page title will be set to this value.

Overrides ConfirmFormInterface::getQuestion

File

lib/Drupal/ip_ranges/Form/IPRangesDeleteForm.php, line 19
Contains \Drupal\ip_ranges\Form\IPRangesDeleteForm

Class

IPRangesDeleteForm

Namespace

Drupal\ip_ranges\Form

Code

public function getQuestion() {
  $entity = $this->entity;
  return t('Are you sure you want to delete range @range?', array(
    '@range' => $entity
      ->getIpDisplay(),
  ));
}