DeleteForm::getConfirmText

public DeleteForm::getConfirmText()

Returns a caption for the button that confirms the action.

Return value

string The form confirmation text.

Overrides ConfirmFormBase::getConfirmText

File

core/modules/forum/src/Form/DeleteForm.php, line 46

Class

DeleteForm
Builds the form to delete a forum term.

Namespace

Drupal\forum\Form

Code

public function getConfirmText() {
  return $this->t('Delete');
}
doc_Drupal
2016-10-29 09:02:08
Comments
Leave a Comment

Please login to continue.