ModerationStateDeleteForm::getConfirmText

public ModerationStateDeleteForm::getConfirmText()

Returns a caption for the button that confirms the action.

Return value

string The form confirmation text.

Overrides EntityConfirmFormBase::getConfirmText

File

core/modules/content_moderation/src/Form/ModerationStateDeleteForm.php, line 31

Class

ModerationStateDeleteForm
Builds the form to delete Moderation state entities.

Namespace

Drupal\content_moderation\Form

Code

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

Please login to continue.