public function ServerEnableDisableForm::getQuestion in Lightweight Directory Access Protocol (LDAP) 8.3
Same name and namespace in other branches
- 8.4 ldap_servers/src/Form/ServerEnableDisableForm.php \Drupal\ldap_servers\Form\ServerEnableDisableForm::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/ ServerEnableDisableForm.php, line 31
Class
- ServerEnableDisableForm
- Form for disabling a server.
Namespace
Drupal\ldap_servers\FormCode
public function getQuestion() {
return $this
->t('Are you sure you want to disable/enable entity %name?', [
'%name' => $this->entity
->label(),
]);
}