public function ExternalLinkPopupDeleteForm::getConfirmText in External Link Pop-up 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/ ExternalLinkPopupDeleteForm.php, line 31
Class
- ExternalLinkPopupDeleteForm
- Builds the form to delete the External Link Pop-up.
Namespace
Drupal\external_link_popup\FormCode
public function getConfirmText() {
return $this
->t('Delete');
}