You are here

protected function BlockEditForm::getSubmitValue in Context 8

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

Get the value to use for the submit button.

Return value

TranslatableMarkup

Overrides BlockFormBase::getSubmitValue

File

src/Reaction/Blocks/Form/BlockEditForm.php, line 17

Class

BlockEditForm

Namespace

Drupal\context\Reaction\Blocks\Form

Code

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