public function LibraryActionDeleteForm::getConfirmText in Library 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/ LibraryActionDeleteForm.php, line 31
Class
- LibraryActionDeleteForm
- Builds the form to delete Library action entities.
Namespace
Drupal\library\FormCode
public function getConfirmText() {
return $this
->t('Delete');
}