Commit 49d64895 authored by alexpott's avatar alexpott
Browse files

Issue #2294597 by Xano: Remove usage of t() from the confirm form base classes.

parent 0a54fea9
......@@ -26,21 +26,21 @@ public function getBaseFormID() {
* {@inheritdoc}
*/
public function getDescription() {
return t('This action cannot be undone.');
return $this->t('This action cannot be undone.');
}
/**
* {@inheritdoc}
*/
public function getConfirmText() {
return t('Confirm');
return $this->t('Confirm');
}
/**
* {@inheritdoc}
*/
public function getCancelText() {
return t('Cancel');
return $this->t('Cancel');
}
/**
......
......@@ -16,21 +16,21 @@ abstract class ConfirmFormBase extends FormBase implements ConfirmFormInterface
* {@inheritdoc}
*/
public function getDescription() {
return t('This action cannot be undone.');
return $this->t('This action cannot be undone.');
}
/**
* {@inheritdoc}
*/
public function getConfirmText() {
return t('Confirm');
return $this->t('Confirm');
}
/**
* {@inheritdoc}
*/
public function getCancelText() {
return t('Cancel');
return $this->t('Cancel');
}
/**
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment