You are here

protected function VariantPluginEditBlockForm::submitText in Page Manager 8

Same name and namespace in other branches
  1. 8.4 page_manager_ui/src/Form/VariantPluginEditBlockForm.php \Drupal\page_manager_ui\Form\VariantPluginEditBlockForm::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/VariantPluginEditBlockForm.php, line 32
Contains \Drupal\page_manager_ui\Form\VariantPluginEditBlockForm.

Class

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

Namespace

Drupal\page_manager_ui\Form

Code

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