function UpdateBlockForm::submitLabel

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

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');
}

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