You are here

public function CustomServicesDeleteForm::getQuestion in Shorten URLs 8

Same name and namespace in other branches
  1. 8.2 modules/shorten_cs/src/Form/CustomServicesDeleteForm.php \Drupal\shorten_cs\Form\CustomServicesDeleteForm::getQuestion()

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

modules/shorten_cs/src/Form/CustomServicesDeleteForm.php, line 32

Class

CustomServicesDeleteForm
Settings form.

Namespace

Drupal\shorten_cs\Form

Code

public function getQuestion() {
  return t('Are you sure you want to delete the custom service %id?', array(
    '%id' => $this->id,
  ));
}