You are here

Viewport.php in Metatag 8

File

metatag_mobile/src/Plugin/metatag/Tag/Viewport.php
View source
<?php

namespace Drupal\metatag_mobile\Plugin\metatag\Tag;

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

/**
 * The Viewport for Mobile metatag.
 *
 * @MetatagTag(
 *   id = "viewport",
 *   label = @Translation("Viewport"),
 *   description = @Translation("Used by most contemporary browsers to control the display for mobile browsers. Please read a guide on responsive web design for details of what values to use."),
 *   name = "viewport",
 *   group = "mobile",
 *   weight = 84,
 *   type = "string",
 *   secure = FALSE,
 *   multiple = FALSE
 * )
 */
class Viewport extends MetaNameBase {

}

Classes

Namesort descending Description
Viewport The Viewport for Mobile metatag.