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