Commit 1fa36538 authored by Dominique CLAUSE's avatar Dominique CLAUSE Committed by Damien McKenna
Browse files

Issue #3166569 by munish.kumar, yogeshmpawar, Dom.: Add Facebook verification meta header.

parent b749368c
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -11,6 +11,8 @@ Metatag 8.x-1.x-dev, xxxx-xx-xx
  commerce_migrate_commerce.
#3176513 by mglaman: \Drupal\metatag\MetatagManager::defaultTagsFromEntity
  should not return null.
#3166569 by munish.kumar, yogeshmpawar, Dom.: Add Facebook verification meta
  header.


Metatag 8.x-1.14, 2020-08-11
+3 −0
Original line number Diff line number Diff line
@@ -11,6 +11,9 @@ metatag.metatag_tag.baidu:
metatag.metatag_tag.bing:
  type: label
  label: 'Site validation: Bing'
metatag.metatag_tag.facebook_domain_verification:
  type: label
  label: 'Site validation: Facebook'
metatag.metatag_tag.google:
  type: label
  label: 'Site validation: Google'
+1 −1
Original line number Diff line number Diff line
@@ -13,7 +13,7 @@ use Drupal\metatag\Plugin\metatag\Tag\MetaNameBase;
 *   description = @Translation("A string provided by <a href=':baidu'>Baidu</a>.", arguments = { ":baidu"  = "https://www.baidu.com/" }),
 *   name = "baidu-site-verification",
 *   group = "site_verification",
 *   weight = 2,
 *   weight = 1,
 *   type = "label",
 *   secure = FALSE,
 *   multiple = FALSE
+1 −1
Original line number Diff line number Diff line
@@ -13,7 +13,7 @@ use Drupal\metatag\Plugin\metatag\Tag\MetaNameBase;
 *   description = @Translation("A string provided by <a href=':bing'>Bing</a>, full details are available from the <a href=':verify_url'>Bing online help</a>.", arguments = { ":bing" = "https://www.bing.com/", ":verify_url" = "https://www.bing.com/webmaster/help/how-to-verify-ownership-of-your-site-afcfefc6" }),
 *   name = "msvalidate.01",
 *   group = "site_verification",
 *   weight = 3,
 *   weight = 2,
 *   type = "label",
 *   secure = FALSE,
 *   multiple = FALSE
+23 −0
Original line number Diff line number Diff line
<?php

namespace Drupal\metatag_verification\Plugin\metatag\Tag;

use Drupal\metatag\Plugin\metatag\Tag\MetaNameBase;

/**
 * Provides a plugin for the 'facebook-domain-verification' meta tag.
 *
 * @MetatagTag(
 *   id = "facebook_domain_verification",
 *   label = @Translation("Facebook"),
 *   description = @Translation("A string provided by <a href=':facebook'>Facebook</a>, full details are available from the <a href=':help'>Facebook online help</a>.", arguments = { ":facebook" = "https://facebook.com", ":help" = "https://developers.facebook.com/docs/sharing/domain-verification/verifying-your-domain/#meta-tags" }),
 *   name = "facebook-domain-verification",
 *   group = "site_verification",
 *   weight = 3,
 *   type = "label",
 *   secure = FALSE,
 *   multiple = FALSE
 * )
 */
class FacebookDomainVerification extends MetaNameBase {
}
Loading