Commit 4d670e4c authored by Hardik_Patel_12's avatar Hardik_Patel_12 Committed by Berdir
Browse files

Issue #3111884 by Hardik_Patel_12: t() calls should be avoided , use...

Issue #3111884 by Hardik_Patel_12: t() calls should be avoided , use $this->t() instead in multiple file
parent d61a4a78
......@@ -256,7 +256,7 @@ class PatternEditForm extends EntityForm {
]
]
);
$entity->addRelationship($language_mapping, t('Language'));
$entity->addRelationship($language_mapping, $this->t('Language'));
}
}
......
......@@ -60,7 +60,7 @@ class PathautoPatternListBuilder extends DraggableListBuilder {
}
$operations['duplicate'] = [
'title' => t('Duplicate'),
'title' => $this->t('Duplicate'),
'weight' => 0,
'url' => $this->ensureDestination($entity->toUrl('duplicate-form')),
];
......
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