You are here

GoogleRating.php in Metatag 8

File

metatag_google_cse/src/Plugin/metatag/Tag/GoogleRating.php
View source
<?php

namespace Drupal\metatag_google_cse\Plugin\metatag\Tag;

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

/**
 * Provides a plugin for the 'google_rating' meta tag.
 *
 * @MetatagTag(
 *   id = "google_rating",
 *   label = @Translation("Content rating"),
 *   description = @Translation("Works only with numeric values."),
 *   name = "rating",
 *   group = "google_cse",
 *   weight = 0,
 *   type = "string",
 *   secure = FALSE,
 *   multiple = FALSE
 * )
 */
class GoogleRating extends MetaNameBase {

}

Classes

Namesort descending Description
GoogleRating Provides a plugin for the 'google_rating' meta tag.