Commit 1f9200ae authored by gbyte.co's avatar gbyte.co

Use $this->t() instead of t()

parent 62e60caf
......@@ -444,9 +444,9 @@ class FormHelper {
* Select options.
*/
public function getChangefreqSelectValues() {
$options = ['' => t('- Not specified -')];
$options = ['' => $this->t('- Not specified -')];
foreach (self::$changefreqValues as $setting) {
$options[$setting] = t($setting);
$options[$setting] = $this->t($setting);
}
return $options;
}
......
......@@ -346,7 +346,7 @@ class SimplesitemapTest extends SimplesitemapTestBase {
/**
* Test overriding of bundle settings for a single entity.
*
* @todo: Use form testing instead of assertRaw().
* @todo: Use form testing instead of responseContains().
*/
public function testSetEntityInstanceSettings() {
$this->generator->setBundleSettings('node', 'page')
......
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