Updated to Drupal 8.5. Core Media not yet in use.
[yaffs-website] / web / modules / contrib / metatag / src / Annotation / MetatagTag.php
index 4f2d622467173e67b46bf17b97800233caf4ee71..948c101f7882bb3a59361ac4d1978fb498018a5a 100644 (file)
@@ -4,7 +4,6 @@ namespace Drupal\metatag\Annotation;
 
 use Drupal\Component\Annotation\Plugin;
 
-
 /**
  * Defines a MetatagTag annotation object.
  *
@@ -59,8 +58,9 @@ class MetatagTag extends Plugin {
   public $weight;
 
   /**
-   * Type of the meta tag should be either 'date', 'image', 'integer', 'label',
-   * 'string' or 'uri'.
+   * Type of the meta tag.
+   *
+   * Should be either 'date', 'image', 'integer', 'label', 'string' or 'uri'.
    *
    * @var string
    */
@@ -69,15 +69,22 @@ class MetatagTag extends Plugin {
   /**
    * True if URL must use HTTPS.
    *
-   * @var boolean
+   * @var bool
    */
   protected $secure;
 
   /**
    * True if more than one is allowed.
    *
-   * @var boolean
+   * @var bool
    */
   public $multiple;
 
+  /**
+   * True if the URL value(s) must be absolute.
+   *
+   * @var bool
+   */
+  protected $absoluteUrl;
+
 }