interface UriInterface

Same name in other branches
  1. 9 core/lib/Drupal/Core/TypedData/Type/UriInterface.php \Drupal\Core\TypedData\Type\UriInterface
  2. 10 core/lib/Drupal/Core/TypedData/Type/UriInterface.php \Drupal\Core\TypedData\Type\UriInterface
  3. 11.x core/lib/Drupal/Core/TypedData/Type/UriInterface.php \Drupal\Core\TypedData\Type\UriInterface

Interface for URIs.

The plain value of a URI is an absolute URI represented as PHP string.

Hierarchy

  • interface \Drupal\Core\TypedData\PrimitiveInterface
    • interface \Drupal\Core\TypedData\Type\UriInterface extends \Drupal\Core\TypedData\PrimitiveInterface

Expanded class hierarchy of UriInterface

All classes that implement UriInterface

Related topics

3 files declare their use of UriInterface
PrimitiveTypeConstraintValidator.php in core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/PrimitiveTypeConstraintValidator.php
TypedDataTest.php in core/tests/Drupal/KernelTests/Core/TypedData/TypedDataTest.php
Uri.php in core/lib/Drupal/Core/TypedData/Plugin/DataType/Uri.php

File

core/lib/Drupal/Core/TypedData/Type/UriInterface.php, line 14

Namespace

Drupal\Core\TypedData\Type
View source
interface UriInterface extends PrimitiveInterface {

}

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