You are here

public function TabDeleteForm::getConfirmText in Block Tabs 8

Returns a caption for the button that confirms the action.

Return value

\Drupal\Core\StringTranslation\TranslatableMarkup The form confirmation text.

Overrides ConfirmFormBase::getConfirmText

File

src/Form/TabDeleteForm.php, line 38

Class

TabDeleteForm
Form for deleting a tab.

Namespace

Drupal\blocktabs\Form

Code

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