You are here

protected function PanelsEditBlockForm::submitText in Panels 8.4

Same name and namespace in other branches
  1. 8.3 src/Form/PanelsEditBlockForm.php \Drupal\panels\Form\PanelsEditBlockForm::submitText()

Returns the text to use for the submit button.

Return value

string The submit button text.

Overrides PanelsBlockConfigureFormBase::submitText

File

src/Form/PanelsEditBlockForm.php, line 27

Class

PanelsEditBlockForm
Provides a form for editing a block plugin of a variant.

Namespace

Drupal\panels\Form

Code

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