Commit 5886686c authored by Jim Birch's avatar Jim Birch Committed by Damien McKenna
Browse files

Issue #3082119 by thejimbirch, cindytwilliams, DamienMcKenna: Add option name...

Issue #3082119 by thejimbirch, cindytwilliams, DamienMcKenna: Add option name in ROBOTS selector (D8)
parent 6a50f523
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -4,6 +4,8 @@ Metatag 8.x-1.x-dev, xxxx-xx-xx
  og:video:duration tag.
#3084547 by baikho, DamienMcKenna, SerShevchyk: Move submodule tests in
  /tests/Functional folder.
#3082119 by thejimbirch, cindytwilliams, DamienMcKenna: Add option name in
  ROBOTS selector.


Metatag 8.x-1.10, 2019-08-29
+10 −10
Original line number Diff line number Diff line
@@ -51,16 +51,16 @@ class Robots extends MetaNameBase {
      '#title' => $this->label(),
      '#description' => $this->description(),
      '#options' => [
        'index' => t('Allow search engines to index this page (assumed).'),
        'follow' => t('Allow search engines to follow links on this page (assumed).'),
        'noindex' => t('Prevents search engines from indexing this page.'),
        'nofollow' => t('Prevents search engines from following links on this page.'),
        'noarchive' => t('Prevents cached copies of this page from appearing in search results.'),
        'nosnippet' => t('Prevents descriptions from appearing in search results, and prevents page caching.'),
        'noodp' => t('Blocks the <a href=":opendirectory">Open Directory Project</a> description from appearing in search results.', [':opendirectory' => 'http://www.dmoz.org/']),
        'noydir' => t('Prevents Yahoo! from listing this page in the <a href=":ydir">Yahoo! Directory</a>.', [':ydir' => 'http://dir.yahoo.com/']),
        'noimageindex' => t('Prevent search engines from indexing images on this page.'),
        'notranslate' => t('Prevent search engines from offering to translate this page in search results.'),
        'index' => t('index - Allow search engines to index this page (assumed).'),
        'follow' => t('follow - Allow search engines to follow links on this page (assumed).'),
        'noindex' => t('noindex - Prevents search engines from indexing this page.'),
        'nofollow' => t('nofollow - Prevents search engines from following links on this page.'),
        'noarchive' => t('noarchive - Prevents cached copies of this page from appearing in search results.'),
        'nosnippet' => t('nosnippet - Prevents descriptions from appearing in search results, and prevents page caching.'),
        'noodp' => t('noodp - Blocks the <a href=":opendirectory">Open Directory Project</a> description from appearing in search results.', [':opendirectory' => 'http://www.dmoz.org/']),
        'noydir' => t('noydir - Prevents Yahoo! from listing this page in the <a href=":ydir">Yahoo! Directory</a>.', [':ydir' => 'http://dir.yahoo.com/']),
        'noimageindex' => t('noimageindex - Prevent search engines from indexing images on this page.'),
        'notranslate' => t('notranslate - Prevent search engines from offering to translate this page in search results.'),
      ],
      '#default_value' => $default_value,
      '#required' => isset($element['#required']) ? $element['#required'] : FALSE,