'#description'=>t('How frequently the page is likely to change. This value provides general information to search engines and may not correlate exactly to how often they crawl the page.'),
'#description'=>$this->t('How frequently the page is likely to change. This value provides general information to search engines and may not correlate exactly to how often they crawl the page.'),
$form_state->setErrorByName('loc',t('The custom link @link is either invalid or it cannot be accessed by anonymous users.',array('@link'=>$link['loc'])));
$form_state->setErrorByName('loc',$this->t('The custom link @link is either invalid or it cannot be accessed by anonymous users.',array('@link'=>$link['loc'])));
}
parent::validateForm($form,$form_state);
...
...
@@ -189,18 +200,12 @@ class XmlSitemapCustomAddForm extends ConfigFormBase {
'#description'=>t('How frequently the page is likely to change. This value provides general information to search engines and may not correlate exactly to how often they crawl the page.'),
'#description'=>$this->t('How frequently the page is likely to change. This value provides general information to search engines and may not correlate exactly to how often they crawl the page.'),