You are here

public function TeamInvitationAcceptForm::getConfirmText in Apigee Edge 8

Returns a caption for the button that confirms the action.

Return value

\Drupal\Core\StringTranslation\TranslatableMarkup The form confirmation text.

Overrides ContentEntityConfirmFormBase::getConfirmText

File

modules/apigee_edge_teams/src/Entity/Form/TeamInvitationAcceptForm.php, line 49

Class

TeamInvitationAcceptForm
Provides the accept form for team_invitation.

Namespace

Drupal\apigee_edge_teams\Entity\Form

Code

public function getConfirmText() {
  return $this
    ->t('Accept invitation');
}