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

1
2
3
public function getConfirmText() {
  return $this->t('Delete');
}
doc_Drupal
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.