public function AmpMetadataDeleteForm::getConfirmText in Accelerated Mobile Pages (AMP) 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/ AmpMetadataDeleteForm.php, line 76
Class
- AmpMetadataDeleteForm
- Builds the form to delete AMP Metadata entities.
Namespace
Drupal\amp\FormCode
public function getConfirmText() {
return $this
->t('Delete');
}