public function HtaccessConfirmForm::getConfirmText in Htaccess 8.2
Returns a caption for the button that confirms the action.
Return value
\Drupal\Core\StringTranslation\TranslatableMarkup The form confirmation text.
Overrides ConfirmFormBase::getConfirmText
File
- src/
Form/ HtaccessConfirmForm.php, line 82 - Administration pages.
Class
- HtaccessConfirmForm
- Defines a form to confirm Htaccess deployment or deletion
Namespace
Drupal\htaccess\FormCode
public function getConfirmText() {
return $this
->t('%action', array(
'%action' => $this->action,
));
}