You are here

protected function ConditionAddForm::submitButtonText in Block Visibility Groups 8

Returns the text to use for the submit button.

Return value

string The submit button text.

Overrides ConditionFormBase::submitButtonText

File

src/Form/ConditionAddForm.php, line 60

Class

ConditionAddForm
Provides a form for adding a new condition.

Namespace

Drupal\block_visibility_groups\Form

Code

protected function submitButtonText() {
  return $this
    ->t('Add condition');
}