You are here

public function HtaccessConfirmForm::getQuestion in Htaccess 8.2

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

src/Form/HtaccessConfirmForm.php, line 53
Administration pages.

Class

HtaccessConfirmForm
Defines a form to confirm Htaccess deployment or deletion

Namespace

Drupal\htaccess\Form

Code

public function getQuestion() {

  //the question to display to the user.
  return t('Are you sure you want to %action the htaccess profile %profile_name?', array(
    '%action' => $this->action,
    '%profile_name' => $this->name,
  ));
}