public function CustomLanguageDeleteForm::getConfirmText in Custom Language field 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
- src/
Form/ CustomLanguageDeleteForm.php, line 31
Class
- CustomLanguageDeleteForm
- Provides a deletion confirmation form for CustomLanguage entity.
Namespace
Drupal\languagefield\FormCode
public function getConfirmText() {
return $this
->t('Delete');
}