Skip to content
Snippets Groups Projects
Commit 8b51c003 authored by Alex Pott's avatar Alex Pott
Browse files

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

parent c9ab0090
No related branches found
No related tags found
No related merge requests found
......@@ -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');
}
/**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment