Same name and namespace in other branches
  1. 8.9.x core/lib/Drupal/Core/TypedData/Type/UriInterface.php \Drupal\Core\TypedData\Type\UriInterface
  2. 9 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

Expanded class hierarchy of UriInterface

All classes that implement UriInterface

Related topics

2 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

File

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

Namespace

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

}

Members

Namesort descending Modifiers Type Description Overrides
PrimitiveInterface::getCastedValue public function Gets the primitive data value casted to the correct PHP type.
PrimitiveInterface::getValue public function Gets the primitive data value.
PrimitiveInterface::setValue public function Sets the primitive data value.