You are here

public function ProtectedPagesDeleteConfirmForm::getQuestion in Protected Pages 8

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

src/Form/ProtectedPagesDeleteConfirmForm.php, line 67

Class

ProtectedPagesDeleteConfirmForm
Provides delete protected page confirm form.

Namespace

Drupal\protected_pages\Form

Code

public function getQuestion() {
  return $this
    ->t('Are you sure you want to remove the password for this page?');
}