ModerationStateTransitionDeleteForm::getConfirmText

public ModerationStateTransitionDeleteForm::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/ModerationStateTransitionDeleteForm.php, line 31

Class

ModerationStateTransitionDeleteForm
Builds the form to delete Moderation state transition entities.

Namespace

Drupal\content_moderation\Form

Code

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

Please login to continue.