function ConfigureBlockFormBase::submitLabel

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

Returns the label for the submit button.

Return value

string Submit label.

1 call to ConfigureBlockFormBase::submitLabel()
ConfigureBlockFormBase::doBuildForm in core/modules/layout_builder/src/Form/ConfigureBlockFormBase.php
Builds the form for the block.
2 methods override ConfigureBlockFormBase::submitLabel()
AddBlockForm::submitLabel in core/modules/layout_builder/src/Form/AddBlockForm.php
Returns the label for the submit button.
UpdateBlockForm::submitLabel in core/modules/layout_builder/src/Form/UpdateBlockForm.php
Returns the label for the submit button.

File

core/modules/layout_builder/src/Form/ConfigureBlockFormBase.php, line 206

Class

ConfigureBlockFormBase
Provides a base form for configuring a block.

Namespace

Drupal\layout_builder\Form

Code

protected abstract function submitLabel();

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