public function GroupLeaveForm::getConfirmText in Group 8
Same name and namespace in other branches
- 2.0.x src/Form/GroupLeaveForm.php \Drupal\group\Form\GroupLeaveForm::getConfirmText()
Returns a caption for the button that confirms the action.
Return value
\Drupal\Core\StringTranslation\TranslatableMarkup The form confirmation text.
Overrides GroupContentDeleteForm::getConfirmText
File
- src/Form/ GroupLeaveForm.php, line 24 
Class
- GroupLeaveForm
- Provides a form for leaving a group.
Namespace
Drupal\group\FormCode
public function getConfirmText() {
  return $this
    ->t('Leave group');
}