You are here

public function TeamInvitationDeclineForm::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/TeamInvitationDeclineForm.php, line 49

Class

TeamInvitationDeclineForm
Provides the decline form for team_invitation.

Namespace

Drupal\apigee_edge_teams\Entity\Form

Code

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