You are here

public function LayoutDeleteForm::getConfirmText in Layout builder library 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/LayoutDeleteForm.php, line 31

Class

LayoutDeleteForm
Builds the form to delete Access scheme entities.

Namespace

Drupal\layout_library\Form

Code

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