You are here

protected function VariantPluginAddBlockForm::submitText in Page Manager 8

Same name and namespace in other branches
  1. 8.4 page_manager_ui/src/Form/VariantPluginAddBlockForm.php \Drupal\page_manager_ui\Form\VariantPluginAddBlockForm::submitText()

Returns the text to use for the submit button.

Return value

string The submit button text.

Overrides VariantPluginConfigureBlockFormBase::submitText

File

page_manager_ui/src/Form/VariantPluginAddBlockForm.php, line 78
Contains \Drupal\page_manager_ui\Form\VariantPluginAddBlockForm.

Class

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

Namespace

Drupal\page_manager_ui\Form

Code

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