From b64ada17fbe455dc5c83a62cb670c63b0cec4dc4 Mon Sep 17 00:00:00 2001 From: Alex Pott Date: Fri, 19 Jul 2013 10:44:26 +0100 Subject: [PATCH] Issue #2039961 by klausi: Fixed uri_field() should use uri type as value. --- core/lib/Drupal/Core/Entity/Plugin/DataType/UriItem.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/lib/Drupal/Core/Entity/Plugin/DataType/UriItem.php b/core/lib/Drupal/Core/Entity/Plugin/DataType/UriItem.php index 263ec22bc5d..fc398a29595 100644 --- a/core/lib/Drupal/Core/Entity/Plugin/DataType/UriItem.php +++ b/core/lib/Drupal/Core/Entity/Plugin/DataType/UriItem.php @@ -39,8 +39,8 @@ class UriItem extends FieldItemBase { if (!isset(self::$propertyDefinitions)) { self::$propertyDefinitions['value'] = array( - 'type' => 'string', - 'label' => t('Text value'), + 'type' => 'uri', + 'label' => t('URI value'), ); } return self::$propertyDefinitions;