You are here

public function AuthorizationProfileDeleteForm::getConfirmText in Authorization 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

src/Form/AuthorizationProfileDeleteForm.php, line 34

Class

AuthorizationProfileDeleteForm
Builds the form to delete Authorization profile entities.

Namespace

Drupal\authorization\Form

Code

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