protected function ConditionEditForm::submitMessageText in Block Visibility Groups 8
Returns the text to use for the submit message.
Return value
string The submit message text.
Overrides ConditionFormBase::submitMessageText
File
- src/
Form/ ConditionEditForm.php, line 35
Class
- ConditionEditForm
- Provides a form for editing an condition.
Namespace
Drupal\block_visibility_groups\FormCode
protected function submitMessageText() {
return $this
->t('The %label condition has been updated.', [
'%label' => $this->condition
->getPluginDefinition()['label'],
]);
}