You are here

protected function BlockEditForm::getSubmitValue in Context 8.4

Same name and namespace in other branches
  1. 8 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

\Drupal\Core\StringTranslation\TranslatableMarkup An object that, when cast to a string, returns the translated string.

Overrides BlockFormBase::getSubmitValue

File

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

Class

BlockEditForm
Provides a form to edit a block in the Block reaction.

Namespace

Drupal\context\Reaction\Blocks\Form

Code

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