Commit d95ef9d1 authored by Damien McKenna's avatar Damien McKenna
Browse files

Issue #2973351 by DamienMcKenna, Simon Georges, thejimbirch: Remove News...

Issue #2973351 by DamienMcKenna, Simon Georges, thejimbirch: Remove News Keywords and Standout meta tags.
parent 5de8438b
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -5,6 +5,8 @@ Metatag 2.0.x-dev, 2022-xx-xx
#3272768 by DamienMcKenna, SandeepSingh199: Convert to JSON data storage.
#3326103 by DamienMcKenna, harshitthakore: Remove the old TypedData plugin for
  Search API integration.
#2973351 by DamienMcKenna, Simon Georges, thejimbirch: Remove News Keywords and
  Standout meta tags.


Metatag 8.x-1.x-dev, 2022-xx-xx
+0 −6
Original line number Diff line number Diff line
@@ -29,9 +29,6 @@ metatag.metatag_tag.image_src:
metatag.metatag_tag.keywords:
  type: text
  label: 'Keywords'
metatag.metatag_tag.news_keywords:
  type: label
  label: 'Google News Keywords'
metatag.metatag_tag.next:
  type: label
  label: 'Next page URL'
@@ -65,9 +62,6 @@ metatag.metatag_tag.robots:
metatag.metatag_tag.shortlink:
  type: label
  label: 'Shortlink'
metatag.metatag_tag.standout:
  type: label
  label: 'Standout'
metatag.metatag_tag.title:
  type: text
  label: 'Page title'
+0 −2
Original line number Diff line number Diff line
@@ -61,7 +61,6 @@ class PermissionsTest extends BrowserTestBase {
      'google' => 'Google',
      'icbm' => 'ICBM',
      'image_src' => 'Image',
      'news_keywords' => 'News Keywords',
      'next' => 'Next page URL',
      'original_source' => 'Original source',
      'pragma' => 'Pragma',
@@ -77,7 +76,6 @@ class PermissionsTest extends BrowserTestBase {
      // @endcode
      'set_cookie' => 'Set cookie',
      'shortlink' => 'Shortlink URL',
      'standout' => 'Standout',
    ],
  ];

+0 −26
Original line number Diff line number Diff line
<?php

namespace Drupal\metatag\Plugin\metatag\Tag;

/**
 * The basic "NewsKeywords" meta tag.
 *
 * @MetatagTag(
 *   id = "news_keywords",
 *   label = @Translation("News Keywords"),
 *   description = @Translation("A comma-separated list of keywords about the page. This meta tag is used as an indicator in <a href=':google_news'>Google News</a>.", arguments = { ":google_news" = "https://support.google.com/news/publisher/bin/answer.py?hl=en&answer=68297" }),
 *   name = "news_keywords",
 *   group = "advanced",
 *   weight = 2,
 *   type = "label",
 *   secure = FALSE,
 *   multiple = FALSE
 * )
 *
 * @deprecated in metatag:8.x-1.22 and is removed from metatag:2.0.0. No replacement is provided.
 *
 * @see https://www.drupal.org/project/metatag/issues/2973351
 */
class NewsKeywords extends MetaNameBase {
  // Nothing here yet. Just a placeholder class for a plugin.
}
+0 −26
Original line number Diff line number Diff line
<?php

namespace Drupal\metatag\Plugin\metatag\Tag;

/**
 * The basic "Standout" meta tag.
 *
 * @MetatagTag(
 *   id = "standout",
 *   label = @Translation("Standout"),
 *   description = @Translation("Highlight standout journalism on the web, especially for breaking news; used as an indicator in <a href=':google_news'>Google News</a>. Warning: Don't abuse it, to be used a maximum of 7 times per calendar week!", arguments = { ":google_news" = "https://support.google.com/news/publisher/bin/answer.py?hl=en&answer=68297" }),
 *   name = "standout",
 *   group = "advanced",
 *   weight = 3,
 *   type = "label",
 *   secure = FALSE,
 *   multiple = FALSE
 * )
 *
 * @deprecated in metatag:8.x-1.22 and is removed from metatag:2.0.0. No replacement is provided.
 *
 * @see https://www.drupal.org/project/metatag/issues/2973351
 */
class Standout extends MetaNameBase {
  // Nothing here yet. Just a placeholder class for a plugin.
}
Loading