public function BlockVisibilityGroupDeleteForm::getConfirmText in Block Visibility Groups 8
Returns a caption for the button that confirms the action.
Return value
\Drupal\Core\StringTranslation\TranslatableMarkup The form confirmation text.
Overrides EntityConfirmFormBase::getConfirmText
File
- src/
Form/ BlockVisibilityGroupDeleteForm.php, line 36
Class
- BlockVisibilityGroupDeleteForm
- Builds the form to delete Block Visibility Group entities.
Namespace
Drupal\block_visibility_groups\FormCode
public function getConfirmText() {
return $this
->t('Delete');
}