You are here

OgLocale.php in Metatag 8

File

metatag_open_graph/src/Plugin/metatag/Tag/OgLocale.php
View source
<?php

namespace Drupal\metatag_open_graph\Plugin\metatag\Tag;

use Drupal\metatag\Plugin\metatag\Tag\MetaPropertyBase;

/**
 * Provides a plugin for the 'og:locale' meta tag.
 *
 * @MetatagTag(
 *   id = "og_locale",
 *   label = @Translation("Locale"),
 *   description = @Translation("The locale these tags are marked up in, must be in the format language_TERRITORY. Default is 'en_US'."),
 *   name = "og:locale",
 *   group = "open_graph",
 *   weight = 26,
 *   type = "string",
 *   secure = FALSE,
 *   multiple = FALSE
 * )
 */
class OgLocale extends MetaPropertyBase {

}

Classes

Namesort descending Description
OgLocale Provides a plugin for the 'og:locale' meta tag.