public function MandrillActivityDeleteForm::getConfirmText in Mandrill 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
- modules/
mandrill_activity/ src/ Form/ MandrillActivityDeleteForm.php, line 38 - Contains \Drupal\mandrill_activity\Form\MandrillActivityDeleteForm.
Class
- MandrillActivityDeleteForm
- Form controller for the MandrillActivity entity delete form.
Namespace
Drupal\mandrill_activity\FormCode
public function getConfirmText() {
return $this
->t('Delete');
}