public function ServerDeleteForm::getQuestion in Lightweight Directory Access Protocol (LDAP) 8.4
Same name and namespace in other branches
- 8.3 ldap_servers/src/Form/ServerDeleteForm.php \Drupal\ldap_servers\Form\ServerDeleteForm::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
- ldap_servers/
src/ Form/ ServerDeleteForm.php, line 20
Class
- ServerDeleteForm
- Builds the form to delete Server entities.
Namespace
Drupal\ldap_servers\FormCode
public function getQuestion() : TranslatableMarkup {
return $this
->t('Are you sure you want to delete entity %name?', [
'%name' => $this->entity
->label(),
]);
}