You are here

public function BreakpointDeleteForm::getConfirmText in Bootstrap Layout Builder 1.x

Same name and namespace in other branches
  1. 2.x src/Form/BreakpointDeleteForm.php \Drupal\bootstrap_layout_builder\Form\BreakpointDeleteForm::getConfirmText()

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/BreakpointDeleteForm.php, line 31

Class

BreakpointDeleteForm
Builds the form to delete Bootstrap Layout Builder breakpoints entities.

Namespace

Drupal\bootstrap_layout_builder\Form

Code

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