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
1 2 3 | public function getConfirmText() { return $this ->t( 'Delete' ); } |
Please login to continue.