You are here

public function LogTypeDeleteForm::getConfirmText in Log entity 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/LogTypeDeleteForm.php, line 35
Contains \Drupal\log\Form\LogTypeDeleteForm.

Class

LogTypeDeleteForm
Builds the form to delete Log type entities.

Namespace

Drupal\log\Form

Code

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