You are here

public function DomainDeleteForm::getConfirmText in Domain Access 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

domain/src/Form/DomainDeleteForm.php, line 31

Class

DomainDeleteForm
Builds the form to delete a domain record.

Namespace

Drupal\domain\Form

Code

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