Fixing coding standards.

parent 524395fc
......@@ -214,7 +214,7 @@ class XmlSitemapSettingsForm extends ConfigFormBase {
'#type' => 'select',
'#title' => $this->t('Last modification date format'),
'#options' => [
XMLSITEMAP_LASTMOD_SHORT =>$this->t('Short'),
XMLSITEMAP_LASTMOD_SHORT => $this->t('Short'),
XMLSITEMAP_LASTMOD_MEDIUM => $this->t('Medium'),
XMLSITEMAP_LASTMOD_LONG => $this->t('Long'),
],
......
......@@ -109,7 +109,7 @@ class MetatagNoIndexTest extends KernelTestBase {
}
/**
* Tests that default robots metatags are ignored
* Tests that default robots metatags are ignored.
*/
public function testDefaultsNoIndex() {
// Set the user entity default robots metatag to noindex.
......
......@@ -2716,7 +2716,7 @@ function xmlsitemap_link_entity_check_enabled($entity_type_id) {
}
/**
* Implements hook_xmlsitemap_link_alter() on behalf of metatag.
* Implements hook_xmlsitemap_link_alter() on behalf of metatag.module.
*/
function metatag_xmlsitemap_link_alter(array &$link, array $context) {
$enabled = &drupal_static(__FUNCTION__);
......
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