public function DeleteForm::getQuestion in Linkit 8.5
Same name and namespace in other branches
- 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/ Matcher/ DeleteForm.php, line 33
Class
- DeleteForm
- Provides a form to remove a matcher from a profile.
Namespace
Drupal\linkit\Form\MatcherCode
public function getQuestion() {
return $this
->t('Are you sure you want to delete the @plugin matcher from the %profile profile?', [
'%profile' => $this->linkitProfile
->label(),
'@plugin' => $this->linkitMatcher
->getLabel(),
]);
}