You are here

public function TeamRoleDeleteForm::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 EntityConfirmFormBase::getConfirmText

File

modules/apigee_edge_teams/src/Form/TeamRoleDeleteForm.php, line 31

Class

TeamRoleDeleteForm
Builds the form to delete Team Role entities.

Namespace

Drupal\apigee_edge_teams\Form

Code

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