public function CrossdomainDeleteForm::getConfirmText in Crossdomain 8
Returns a caption for the button that confirms the action.
Return value
\Drupal\Core\StringTranslation\TranslatableMarkup The form confirmation text.
Overrides EntityConfirmFormBase::getConfirmText
File
- lib/
Drupal/ crossdomain/ Form/ CrossdomainDeleteForm.php, line 35 - Contains Drupal\crossdomain\Form\CrossdomainDeleteForm.
Class
- CrossdomainDeleteForm
- Builds the form to delete a domain.
Namespace
Drupal\crossdomain\FormCode
public function getConfirmText() {
return $this
->t('Delete');
}