protected function VariantPluginAddBlockForm::submitText in Page Manager 8.4
Same name and namespace in other branches
- 8 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 74
Class
- VariantPluginAddBlockForm
- Provides a form for adding a block plugin to a variant.
Namespace
Drupal\page_manager_ui\FormCode
protected function submitText() {
return $this
->t('Add block');
}