Uri.php

Same filename in other branches
  1. 8.9.x core/lib/Drupal/Core/TypedData/Plugin/DataType/Uri.php
  2. 10 core/lib/Drupal/Core/TypedData/Plugin/DataType/Uri.php
  3. 11.x core/lib/Drupal/Core/TypedData/Plugin/DataType/Uri.php

Namespace

Drupal\Core\TypedData\Plugin\DataType

File

core/lib/Drupal/Core/TypedData/Plugin/DataType/Uri.php

View source
<?php

namespace Drupal\Core\TypedData\Plugin\DataType;

use Drupal\Core\TypedData\Type\UriInterface;

/**
 * The URI data type.
 *
 * The plain value of a URI is an absolute URI represented as PHP string.
 *
 * @DataType(
 *   id = "uri",
 *   label = @Translation("URI")
 * )
 */
class Uri extends StringData implements UriInterface {

}

Classes

Title Deprecated Summary
Uri The URI data type.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.