diff --git a/config/schema/metatag.metatag_tag.schema.yml b/config/schema/metatag.metatag_tag.schema.yml index 5f6f30c..19c84e4 100644 --- a/config/schema/metatag.metatag_tag.schema.yml +++ b/config/schema/metatag.metatag_tag.schema.yml @@ -62,3 +62,6 @@ metatag.metatag_tag.geo_position: metatag.metatag_tag.set_cookie: type: label label: 'Set Cookie' +metatag.metatag_tag.google: + type: label + label: 'Google' diff --git a/src/Plugin/metatag/Tag/Google.php b/src/Plugin/metatag/Tag/Google.php new file mode 100644 index 0000000..0f81d95 --- /dev/null +++ b/src/Plugin/metatag/Tag/Google.php @@ -0,0 +1,22 @@ +meta tags that Google understands for further details."), + * name = "google", + * group = "advanced", + * weight = 5, + * type = "label", + * secure = FALSE, + * multiple = FALSE + * ) + */ +class Google extends MetaNameBase { + // Nothing here yet. Just a placeholder class for a plugin. +} diff --git a/src/Tests/MetatagTagsTest.php b/src/Tests/MetatagTagsTest.php index 46f28c8..5cdb3a5 100644 --- a/src/Tests/MetatagTagsTest.php +++ b/src/Tests/MetatagTagsTest.php @@ -21,6 +21,7 @@ class MetatagTagsTest extends MetatagTagsTestBase { 'geo_placename', 'geo_position', 'geo_region', + 'google', 'icbm', 'image_src', 'keywords',