public function DeleteForm::getQuestion in Linkit 8.4
Same name in this branch
- 8.4 src/Form/Attribute/DeleteForm.php \Drupal\linkit\Form\Attribute\DeleteForm::getQuestion()
- 8.4 src/Form/Matcher/DeleteForm.php \Drupal\linkit\Form\Matcher\DeleteForm::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
- src/
Form/ Attribute/ DeleteForm.php, line 38 - Contains \Drupal\linkit\Form\Attribute\DeleteForm.
Class
- DeleteForm
- Provides a form to remove an attribute from a profile.
Namespace
Drupal\linkit\Form\AttributeCode
public function getQuestion() {
return $this
->t('Are you sure you want to delete the @plugin attribute from the %profile profile?', [
'%profile' => $this->linkitProfile
->label(),
'@plugin' => $this->linkitAttribute
->getLabel(),
]);
}