You are here

protected function PanelsAddBlockForm::submitText in Panels 8.4

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

Returns the text to use for the submit button.

Return value

string The submit button text.

Overrides PanelsBlockConfigureFormBase::submitText

File

src/Form/PanelsAddBlockForm.php, line 74

Class

PanelsAddBlockForm
Provides a form for adding a block plugin to a variant.

Namespace

Drupal\panels\Form

Code

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