Commit 3661bb2e authored by Damien McKenna's avatar Damien McKenna
Browse files

Issue #3077781 by thejimbirch, DamienMcKenna, mmbk, cindytwilliams: Remove...

Issue #3077781 by thejimbirch, DamienMcKenna, mmbk, cindytwilliams: Remove references to the amphtml meta tag.
parent b79462f2
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -22,6 +22,8 @@ Metatag 8.x-1.x-dev, xxxx-xx-xx
#3193523 by DamienMcKenna: Removed files accidentally committed.
#3189850 by cmod, DamienMcKenna, J-Lee: Undefined index: href in
  metatag_page_attachments().
#3077781 by thejimbirch, DamienMcKenna, mmbk, cindytwilliams: Remove references
  to the amphtml meta tag.


Metatag 8.x-1.15, 2020-12-05
+0 −14
Original line number Diff line number Diff line
@@ -92,20 +92,6 @@ class MetatagMobileTagsTest extends MetatagTagsTestBase {
    return 'href';
  }

  /**
   * Implements {tag_name}TestOutputXpath() for 'amphtml'.
   */
  protected function amphtmlTestOutputXpath() {
    return "//link[@rel='amphtml']";
  }

  /**
   * Implements {tag_name}TestValueAttribute() for 'amphtml'.
   */
  protected function amphtmlTestValueAttribute() {
    return 'href';
  }

  /**
   * Implements {tag_name}TestValue() for 'android_app_link_alternative'.
   */
+0 −2
Original line number Diff line number Diff line
@@ -261,8 +261,6 @@ class NodewordsEntities extends ProcessPluginBase {
      // 'hreflang_' . $langcode => 'hreflang_per_language',
      // From metatag_mobile.metatag.inc:
      'alternate_handheld' => 'alternate_handheld',
      // @todo https://www.drupal.org/project/metatag/issues/3077781
      // 'amphtml' => '',
      'android-app-link-alternative' => 'android_app_link_alternative',
      'android-manifest' => 'android_manifest',
      'apple-itunes-app' => 'apple_itunes_app',
+0 −2
Original line number Diff line number Diff line
@@ -247,8 +247,6 @@ class MetatagEntities extends ProcessPluginBase {
      // 'hreflang_' . $langcode => 'hreflang_per_language',
      // From metatag_mobile.metatag.inc:
      'alternate_handheld' => 'alternate_handheld',
      // @todo https://www.drupal.org/project/metatag/issues/3077781
      // 'amphtml' => '',
      'android-app-link-alternative' => 'android_app_link_alternative',
      'android-manifest' => 'android_manifest',
      'apple-itunes-app' => 'apple_itunes_app',