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'); }
Please login to continue.