You are here

protected function UpdateBlockForm::submitLabel in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/layout_builder/src/Form/UpdateBlockForm.php \Drupal\layout_builder\Form\UpdateBlockForm::submitLabel()

Returns the label for the submit button.

Return value

string Submit label.

Overrides ConfigureBlockFormBase::submitLabel

File

core/modules/layout_builder/src/Form/UpdateBlockForm.php, line 54

Class

UpdateBlockForm
Provides a form to update a block.

Namespace

Drupal\layout_builder\Form

Code

protected function submitLabel() {
  return $this
    ->t('Update');
}