You are here

public function AuthorPaneDeleteForm::getConfirmText in Author Pane 8.3

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/AuthorPaneDeleteForm.php, line 30
Contains \Drupal\author_pane\Form\AuthorPaneDeleteForm.

Class

AuthorPaneDeleteForm
Form that handles the removal of Author Pane entities.

Namespace

Drupal\author_pane\Form

Code

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