function AddBlockForm::submitLabel

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

Overrides ConfigureBlockFormBase::submitLabel

File

core/modules/layout_builder/src/Form/AddBlockForm.php, line 30

Class

AddBlockForm
Provides a form to add a block.

Namespace

Drupal\layout_builder\Form

Code

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

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