public function PatternDisableForm::getConfirmText in Pathauto 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/ PatternDisableForm.php, line 31
Class
- PatternDisableForm
- Provides the pathauto pattern disable disable form.
Namespace
Drupal\pathauto\FormCode
public function getConfirmText() {
return $this
->t('Disable');
}