You are here

protected function BlockAddForm::getSubmitValue in Context 8.0

Same name and namespace in other branches
  1. 8.4 src/Reaction/Blocks/Form/BlockAddForm.php \Drupal\context\Reaction\Blocks\Form\BlockAddForm::getSubmitValue()
  2. 8 src/Reaction/Blocks/Form/BlockAddForm.php \Drupal\context\Reaction\Blocks\Form\BlockAddForm::getSubmitValue()

Get the value to use for the submit button.

Return value

TranslatableMarkup

Overrides BlockFormBase::getSubmitValue

File

src/Reaction/Blocks/Form/BlockAddForm.php, line 19

Class

BlockAddForm

Namespace

Drupal\context\Reaction\Blocks\Form

Code

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