function RemoveSectionForm::getConfirmText

Same name in other branches
  1. 9 core/modules/layout_builder/src/Form/RemoveSectionForm.php \Drupal\layout_builder\Form\RemoveSectionForm::getConfirmText()
  2. 8.9.x core/modules/layout_builder/src/Form/RemoveSectionForm.php \Drupal\layout_builder\Form\RemoveSectionForm::getConfirmText()
  3. 11.x core/modules/layout_builder/src/Form/RemoveSectionForm.php \Drupal\layout_builder\Form\RemoveSectionForm::getConfirmText()

Overrides ConfirmFormBase::getConfirmText

File

core/modules/layout_builder/src/Form/RemoveSectionForm.php, line 39

Class

RemoveSectionForm
Provides a form to confirm the removal of a section.

Namespace

Drupal\layout_builder\Form

Code

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

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.