You are here

interface UriInterface in Drupal 8

Same name and namespace in other branches
  1. 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

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 {

}

Members

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