public function ProfileTypeDeleteForm::getConfirmText in Profile 2 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/ ProfileTypeDeleteForm.php, line 65 - Contains \Drupal\profile\Form\ProfileTypeDeleteForm.
Class
- ProfileTypeDeleteForm
- Provides a confirmation form for deleting a Profile type entity.
Namespace
Drupal\profile\FormCode
public function getConfirmText() {
return $this
->t('Delete');
}