Commit 8b51c003 authored by alexpott's avatar alexpott
Browse files

Issue #2095681 by RoSk0: Modernize EntityConfirmFormBase to use FormBase methods.

parent c9ab0090
......@@ -27,21 +27,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');
}
/**
......
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